Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindcontrols
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Bindcontrols
Miscellaneous
Thread ID:
00907926
Message ID:
00907926
Views:
47
I'm trying to use the form.bindcontrol property to delay my control binding until the form's init method and I am getting some very bizarre errors (I should call them potential bugs)

First error: Syntax error
This error is generated from the thisform.bindcontrols=.T. line in the init method of a form.

Second error: PARENT is not an object
This error is generated from the thisform.bindcontrols=.T. line in the init method of a form.


I have isolated the first error to be produced if:
1. The form contains a grid whose recordsourcetype=1 (Alias)
2. The grid's RecordSource=(None)
Changing the grid's recordsource to 0 (Table) will make the first error go away.


I still can not isolate the PARENT is not an object error. Has anyone run into this before?
Brandon Harker
Sebae Data Solutions
Reply
Map
View

Click here to load this message in the networking platform