Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi / BDE / Paradox 1

Status
Not open for further replies.

TheMuns

Programmer
Dec 21, 2003
2
AU
G'day guys and girls,

Just started new job and I have a simple paradox to interbase conversion to start with.

Problem is that they have developed a deplhi app that has been running, which I seem not to be able to run.

I have rebuild my pc and haven't got the prior developers setup, which is where the problems lies IMHO

The issue are that the delphi objects refer to all the tables and field names in lower case, but the paradox table names and field names are all in Capitals, hence "Table not found".

Now I could go through and change all the references to capitals, but I think there is a flag or driver I've miss that makes character case not a problem. Maybe BDE needs updating or a new paradox driver.

Please, any suggestions appreciated

Thanks in advance

 
Is the problem running the app, or opening delphi? If it's opening delphi, you may just need to add the aliases (if you have access to the prior development environment, you can copy the idapi32.cfg and idapi.cfg files to your pc to save time. These files are at C:\Program Files\Common Files\borland shared\bde\). If not, you can just set them in the database explorer.

I've never seen case be an issue (with the exception of index names), but maybe I just have whatever flag setting you're looking for set already.

If your problem is at runtime, you may need to programatically add the aliases.



Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole
 
Thanks,

I will look in to your suggestion.

The_Muns
 
Check out a system where the application is running good, examine the bde administrator, for any alias pointing to the paradox files. Use the same alias name on your development machine, the aliases (and delphi) are not case sensitive.

Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top