Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor limits
Message
From
30/01/2006 07:37:23
 
 
To
30/01/2006 07:16:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01091366
Message ID:
01091375
Views:
9
John

You have the named cursor set up as the source for your grid, but during the form's life you select data into this same-named cursor, right?

This has been likened to the grid "losing its mind" or, as I like to think of it, pulling the rug out from under it.
You need to programmatically set the grid's recordsource to the the cursor after it's been thus recreated.
You may have to set other things like the column widths, what fields go in what columns, no. of coulumns, etc. too.
I'd advise noting down these from your original props and prog'ly setting them.

Terry

>Hi,
>
>I have created a cursor to act as a control source for a grid I have on a form. I want to use this as a temp location for data entry before committing it to the database. Seems to work ok.
>
>Only problem is on a form where I have 2 grids. As soon as I create the second cursor, the first one vanishes.
>
>Would cursors be the best method of achieving this? And if so.. how do I get around my first cursor disappearing?
>
>
>Cheers
>John
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform