Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid : RecordSourceType / RecordSource
Message
De
03/03/2003 22:09:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid : RecordSourceType / RecordSource
Divers
Thread ID:
00760719
Message ID:
00760719
Vues:
61
I am trying to use a cursor (ReadWrite) as the RecordSource for a grid with RecordSourceType = 1 (Alias).

At design-time the grid's RecordSource property will occasionally change to a Table from the desired cursor. When I change this property back to the desired cursor, it also resets (clears out) all of the Grid Column ControlSources.

What am I doing wrong ????

PS. The cursor is created in both the Main.Prg (before any Forms are invoked) and also in the Form's DataEnvironment BeforeOpenTables event using the following SQL statement:
SELECT cLineNo, cPart, cDescript, cColor, nQty, cLength, cStatus ;
	FROM OrDetail ;
	INTO CURSOR curCurrentOrder ;
	WHERE cLineNo = "1" ;
	READWRITE
*- This will always result in the selection of one row.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform