Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is my cursor empty?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00551388
Message ID:
00552028
Views:
23
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform