Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor limits
Message
De
30/01/2006 07:37:23
 
 
À
30/01/2006 07:16:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01091366
Message ID:
01091375
Vues:
10
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform