Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00884147
Message ID:
00884153
Views:
12
Steve,

The grid binds to the current work area during its Init. Form.Init() happens later. Open the table in Form.Load() or put the table into the data environment of the form.

If you have to wait until Form.Init() you'll have to set the grid.RecordSource after the table is open.

>I have a form with a grid. When I open the table in the init of this form, the grid comes
>up blank. Can anyone explain what I am doing wrong? Here is what I have in the
>form's init
>
>close data
>use attend
>thisForm.Grid1.refresh()
>thisForm.Grid1.setFocus()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform