Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing grids after table change
Message
From
01/12/1998 18:01:52
 
 
To
01/12/1998 17:56:58
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00163011
Message ID:
00163012
Views:
28
>Hi,
>i have a grid on a form (nothing special) which reads a file with an alias ff. I then change that file programaticly by first closing the file using the use command like this:
>
>select ff
>use
>
>and then open a new file by using
>
>use alltrim(substr(pfpsetup.filename,1,7))+"D" alais ff
>
>all the files have the same structer. Then i issue Thisform.grid1.refresh() and the grid goes blank.
>
>What am i doing wrong?
>thanks in advance
>
>Quinn

You should restore grid settings (at least recordsource,columncount and column.controlsources ) programmatically any time you change grid.recordsource.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform