How to protect a paradox table in Delphi?

How do I add, change and delete the password of 'password-protected-paradox-table' in a Delphi 4 program?

Thanks in advance
jupe
jupeAsked:
Who is Participating?
 
Ivanov_GConnect With a Mentor Commented:

   Setting Paradox password automatically :
   {
      The table component's ACTIVE property
      must be set to FALSE.
      Then, put this code on the form's create event:
   }
   Session.AddPassword('My secret password') ;
   TableName.Active := True;

   Setting a Master Password to a Paradox Table :
   http://www.delphicorner.f9.co.uk/articles/db13.htm

   
0
 
Ivanov_GCommented:
 
  Try first some universal Paradox passwords...

      PARADOX 7.0 and 5.0: "jIGGAe" and/or "cupcdvum"
      PARADOX 4.x (DOS): "nx66ppx"
0
 
jupeAuthor Commented:
thanks Ivanov G. My question is how to do it in a Delphi program. I don't want to crack a protected Paradox table. I need to protect a new table. Can you give me a code snippet?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.