Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using cursoradapter
Message
From
06/08/2018 05:28:53
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01661443
Message ID:
01661450
Views:
65
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform