Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is my cursor empty?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00551388
Message ID:
00552028
Vues:
21
Steve,

>>Why is my cursor ATTS empty? I had ? attempts.ext, ? attempts.seqno and displayed the values for the ATTEMPTS table so I know I found a record with values to go into the ATTS cursor, but when I do the REPLACEs from the ATTEMPTS table into the ATTS cursor, nothing is saved. When I BROWSE the ATTS cursor it's empty. Do you see what I am doing wrong? Thanks for the help.


My, my, you're working much too hard. May I suggest:
IF INDEXSEEK(m.SeekId, .T., "Tube", "Mast_Id")
	m.lxMast_Id = Tube.MastId
	
	SELECT Ext, SeqNo, Placed, Route, Ext_Reas ;
		FROM Attempts ;
		WHERE Mast_Id = m.lxMast_Id ;
		INTO CURSOR Add2Atts
	
	IF _TALLY > 0
		SELECT Atts
		APPEND FROM DBF("Add2Atts")
	ENDIF
	
	USE IN Add2Atts
ELSE
	...
ENDIF
Regards,
Thom C.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform