General information
Category:
Forms & Form designer
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only