Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with DynamicBackColor
Message
From
11/11/2020 10:19:20
 
 
To
10/11/2020 16:27:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677077
Message ID:
01677102
Views:
82
Just a quick update - I did not know this before but if you instantiate a grid on a form, it *assumes* the recordsource whatever table/view is open in the current workspace if you do not specify this specifically in the setup e.g.
USE companys
loform=CREATEOBJECT("form")
loform.AddObject("TestGrid","grid")
? loForm.testgrid.RecordSource
Result: .Recordsource = "companys"

I would have thought .Recordsource would be empty if not explicitly set on the designer screen.

Albert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform