Mega Code Archive

 
Categories / Delphi / ADO Database
 

Open Protected Paradox Table Without User Entering Anything

Title: Open Protected Paradox Table Without User Entering Anything Question: How can i open the protect pardox table without user know the password of this table? Answer: With Session Command you can enteunit ProtectParadox; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBTables; type TForm1 = class(TForm) Table1: TTable; Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ShowMessage('Open Protect Table Without Entering Password'); Session.AddPassword('123456'); Table1.Open; end; procedure TForm1.Button2Click(Sender: TObject); begin ShowMessage('Open Protect Table With Password'); Table1.Open; end; end.