Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorSource
Message
From
18/10/1996 12:52:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00010395
Message ID:
00010450
Views:
35
>>I am converting a fpd26 app to vfp. All of the tables in the fpd26 app were opened programatically. I want to use data environment builder in the form designer, but I need for the CursorSource to ignore the complete path and simply refer to a table in the current dirrectory. The end user's application dirrectory will be different than my prodcution dirrectory. Consequently, I can't have the CursorSource refer to the complete path. Is there any way to edit the CursorSource at production time, or when choosing a table let it know that I don't want the full path?
>>
>>THANKS.
>>
>>jd
>
>we usually keep our data in a directory called data immediately under the application. in this way, the .dbc will reference only the related path info (i.e. data). you'll still need to validate the .dbc when it is moved, but this is fairly simple.

I have the same problem stated above, and don't fully understand
the solution. I have always a DATA\ directory too, but the
problem is that CursorSource stores the full path, i.e. every
thing before the DATA\ directory is stored too, and when I move
the application, the full path is not stored.
And my problem gets bigger inthe application that runs my
business, as I have one directory for development, and another
with actual data, and it gets difficult to develop without
mixing actual and development data.

Thanks for your advice.
Javier.
Previous
Reply
Map
View

Click here to load this message in the networking platform