Link to home
Start Free TrialLog in
Avatar of West3366
West3366

asked on

Simple question about using BDE and Alias

I've set up 3 Aliases but everytime I change computers the alias resets so I get errors when I try to run the program. I can get them working by setting up new Aliases before I work with my program. This is getting tiresome. Is there anyway I can make an Alias which sticks?
Avatar of mocarts
mocarts

one way - you can copy idapi*.cfg from your old computer BDE directory to the new one.
another way is to create aliases in your prograam by using BDE unit (dbiAddAlias function - see BDE32.hlp file for more info and examples)

wbr, mo
Avatar of kretzschmar
if u use dbase or paradox,
then u cane simple use the path,
where the table are, as alias

so the question is
what database do u use?

btw. you can also create aliases
on the fly at runtime

meikl ;-)
btw. you must not go through the bde-api,
for creating an alias

tsession provides methods for this

meikl ;-)
Avatar of West3366

ASKER

I'm using Dbase. And creating Aliases at run time is probably the solution I would use. How would I set it up?
I'm using Dbase. And creating Aliases at run time is probably the solution I would use. How would I set it up?
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial