Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid doesnot refresh at all !!!!
Message
 
 
To
08/09/1998 09:07:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00134005
Message ID:
00134102
Views:
14
>>>I have a pageframe with 5 pages in a Form. In page 5 the grid with
>>>control source from a table TEMP2.DBF is there.
>>>
>>>In page 2 , I am modyfying the table temp2.dbf ie adding some more columns. Initially I don't have the table temp2.dbf . It is based on another table temp1.dbf
>>>
>>>In Form load event I created table temp2.dbf
>>>
>>>But when I come to page5, the grid is not showing any values .
>>>in any of the columns.
>>>
>>>Before coming to page5 I am creating table temp2.dbf
>>>
>>>Hope you understood,
>>>It 's bothering me from past 5 hours.

>>
>>Try puttting a THIS.Refresh() in the Activate() of Page5.
>>
>HTH

>Just Tried it but of no use.

i do almost the exact thing you are describing and i have no problem. make sure that your record pointer is at the first record. do a SELECT TEMP2 then a LOCATE (or go top) . in your grid make sure that your RECORDSOURCETYPE = 1 (Alias) and that your RECORDSOURCE = TEMP2 in the grid PEM.

if still problems, try putting in a messagebox (or in the debugger) and see if you have records in your temp2 table. can also try a grid.refresh().

brenda
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform