Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource limitation - VFP recordset object posted
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ControlSource limitation - VFP recordset object posted
Miscellaneous
Thread ID:
00287995
Message ID:
00287995
Views:
83
Hi all,

I posted today on the UT file section a sample of a VFP recordset with a field collection

If you have time to try this collection you can test another VFP property use limitation. ( see the thread with Nick about Value )

My first idea doing this was to push out any ALIAS on the UI.

oRs=CREATEOBJECT("recordset","MyAlias")
? oRs.Fields("MyField").Value
oRs.Fields("MyField").Value = "MyNewValue"
? oRs.Fields("MyField").Value <- Ok

MyUIObject.controlSource = oRs.Fields("MyField").Value <- Crash

Now we are in the controlSource property limitation.

I am using form properties as control ControlSource that's ok .

But in my fields collection the object reference is bridged by the collection

This will crash VFP !

I think this is important for a best use of VFP.

Maybe I try to late in the night, or is this a real limitation ?

Any feedback is really welcom !

Marcel
Reply
Map
View

Click here to load this message in the networking platform