Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Columns disapear... (VFP3)
Message
From
04/01/1999 08:56:41
 
 
To
04/01/1999 05:52:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172347
Message ID:
00172376
Views:
22
>I have a grid which I want to show fields from a cursor made with a select command. The first time it shows everything fine but when I do a new select to update the cursor, all my columns in the grid disapear and it becomes just white. How can I solve the problem? I want to do many select updates to the cursor within the form session and see the result in the grid. The problem occurs in VFP3!
>
>Thanks in prior!
>
>Mårten Törnquist

There are two ways to fight this problem:
1. You restore grid settings (first of all, grid.recordsource and column.controlsource(s) after each SELECT).
Or
2. You base your grid permanently on read-write cursor and repopulated it (INSERT/APPEND) after each SELECT into another read-only cursor/array.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform