Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make the form stop hard coding table path
Message
 
À
15/04/2002 13:29:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00645079
Message ID:
00645109
Vues:
15
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform