Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Source Tables Assignment for a form
Message
De
01/09/2004 04:06:11
 
 
À
01/09/2004 00:01:19
Dennis Hupe
Boot, Hoof'n Paw Prints
Bloomville, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00938294
Message ID:
00938321
Vues:
11
Hi,

>>
Hope I can define the help I need. I want to be able to assign where the drive for a tables that a form uses by using input from an ini file. I currently can modify the drive letter by modifying the cursorsource found in the memo for the Properties in the form's scx. However if I try to define the cursorsource = m.inisource then the system overides it with the default folder that I am working with.
>>

I'm not sure what you're trying to achieve. IAC the controlsource can only be a field in an open table (or a variable) - it's not going to handle the opening of the table. If you are trying to do this at run time then best to redefine the file path/names in either the form.load or, if you are using the DE, in the DE.BeforeOpenTables(). E.g:
This.Cursor1.Database = lcWhateverDBC
This.CursorSource = lcWhateverFile
HTH,
VIv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform