Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path Mystery
Message
From
19/05/2004 07:42:14
 
 
To
18/05/2004 12:53:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00904943
Message ID:
00905210
Views:
22
Hi, Cetin

Thanks very much for the help and the sample code. I did want to avoid putting code in all my forms to get around this problem (there are loads of them) but, from the 3 replies I've received, it seems that this is all I can do. It's a shame I can't put the code in my form class, as it doesn't have a DE. Your example would seem to be the least disruptive as it only requires the "UpdateDE( this)" putting in the .BeforeOpentables().

Yes, I am using private data sessions.

I have a few questions about the code, if you wouldn't mind:

1) In the MyAppClass.prg you have the line
> This.cAppDataPath = arrDataLoc
What is "arrDataLoc"? I'd assumed it's one of those define fields from a .h file but I've no idea which.

2) As my databases are in 3 different sub-folders I can't just assert a database folder. It depends on which sub-system the user wants. To further complicate matters, some forms use tables from more than 1 database (sometimes all 3!). Can you think of a simple tweak to your code that would accommodate this (I guess I'll gert there eventually but you might have the answer to hand)?

Thanks for your continuing help.

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform