Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids 101
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00846808
Message ID:
00846855
Views:
29
OK here's the whole story:

I was using recordsourcetype = table and then the records did not appear and all the record lines showed the deleted indicator ON. When I changed the recordsourcetype to alias, it worked.

I discovered something else: If you put the creation of the cursor in the LOAD, you don't even have to set the recordsource; the grid'll automatically pick it up!

Thanks,

Yossi

>>Yes, but as Chuck, it only worked if I created the cursor in the LOAD.
>>
>>However, instead of a blank grid I get a grid with columns and headers, like in a browse, but NO DATA!
>>
>>??????
>>
>
>Simple base class form with a base class grid droped on the form and the following code in the form's init:
>
>crea curs mycurs (name c(5))
>appe blank
>repl name with "einar"
>appe blank
>repl name with "ethan"
>thisform.grid1.recordsource = "mycurs"
>
>
>This works like a charm.
>
>Einar
Previous
Reply
Map
View

Click here to load this message in the networking platform