Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using cursoradapter
Message
De
06/08/2018 05:28:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01661443
Message ID:
01661450
Vues:
66
>Is there the possibility to change at runtime the selectcmd property? To reduce the number of fields I need every time to change my select command. Alternatively I have to set every time a select * command that is not the best solution... Someone can give me a suggest.?

Add properties that specify the fields you need, build the select command in .beforeCursorFill() using these properties and call .CursorFill()
oCAD = getCursorAdapter(…)
oCAD.FieldsNeeded = '…'
oCAD.cursorFill() && .beforeCursorFill() re-builds the selectCmd using .FieldsNeeded
…
oCAD.cursorRefresh()
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform