Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00965310
Message ID:
00965311
Views:
5
>I have a grid that uses a cursor name as the RecordSource and RecordSourceType = 1. I use the builder to setup the look and feel of the grid in the designer. When I fire up the form, it looks great with all my custom column heading and width the first time. However, once I use a SELECT statement to update my cursor, all the formating were gone and the column headings became the field names. What can I do to prevent that?


Stephen,

A grid looses all it formatting as soon as its RecordSource cursor is closed/destroyed. A SELECT statement doesn't update a cursor. It closed old one and creates new one with the same name. To prevent closing of the cursor you can ZAP it and than use INSERT INTO ... SELECT FROM to repopulate it.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform