Solved

connect to my table

Posted on 2001-08-08
3
141 Views
Last Modified: 2010-04-06
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.???
0
Comment
Question by:Bosanac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 6363762
table1.databasename := ExtractFilePath(application.exename);  //or similar, have it not sure in mind
table1.tablename := YourTablename;
Table1.open;
0
 
LVL 2

Expert Comment

by:Drareg
ID: 6364201

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
 

Author Comment

by:Bosanac
ID: 6364215
This is more right :
table1.tablename := 'YourTablename';

Thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question