connect to my table

I created paradox table.How do I tell my app. that it should search it in my app. exe folder at form show and open it i.e activate it.???
BosanacAsked:
Who is Participating?
 
kretzschmarConnect With a Mentor Commented:
table1.databasename := ExtractFilePath(application.exename);  //or similar, have it not sure in mind
table1.tablename := YourTablename;
Table1.open;
0
 
DraregCommented:

If You do not specifie any  databasename, your program will look for the table in your exe's folder.  It's the default folder.
0
 
BosanacAuthor Commented:
This is more right :
table1.tablename := 'YourTablename';

Thanks!
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.