Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make the form stop hard coding table path
Message
 
To
15/04/2002 13:29:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00645079
Message ID:
00645109
Views:
14
>>I have an app I'm attempting to distribute, but the form is hard coding the table's location (path). The table is not part of a database. Is there a way I can replace the cursorsource in the dataenvironment with justfname(cursorsource) for all tables then run opentables()? I've done this when a file is part of a database by setting the database, but I can't figure out how to do this when the files are not members of a database. Your would think/hope VFP would use relative location unless otherwise specified. Thanks!
>
>Set Database property to '' and CursorSource to fullpath of dbf.
>
>thisform.DE.Closetables
>* Loop and change cursor props
>thisform.DE.Opentables

I need more help with this loop...how can I loop through tables in dataenviroment without specifing the tables specificially and set their respective properties?

Thanks!
Marvin Masson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform