Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorSource in DataEnvireonment
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252319
Message ID:
00252404
Views:
9
>>I notice that the CursorSource in the DataEnvireonment attached to a form is in italics and cannot be edited.
>>
>>Does this mean that the exact path is automatically changed when the actual database is accessed?
>>
>>In my application the database opened could be in one of many company subdirectories, so the path cannot be specfied ahead of time.
>
>You might consider opening the cursor in the load event instead of the data environment. This would allow you to open different tables based upon some condition.
>
>HTH

Dear HTH:

Thanks for the clue.

The scenario is that most of the tables are in company subdirectories and are opened exclusively as only one user at a time will be accessing the company subdirectories.

How would I implement your suggestion? Once I finished designing the form, would I delete the tables from the database envireonment for that form and issue the old fashioned USE table1, SET ORDER TO TAG whatever, SET RELATION TO whatever, etc. in the LoadEvent for the form?

Thanks
Bruce Strom

Prayer of St Ephrem:
O Lord and Master of My Life,
Take from me the spirit of sloth, meddling, ambition and vain talk.
But give me a spirit of prudence, humility, patience and love.
Yes Lord and King grant me to see my own sins and faults
and not judge my brother.
For You are Blessed Forever and Ever. Amen.
Previous
Reply
Map
View

Click here to load this message in the networking platform