fbpx
Welcome, Guest
Username: Password: Remember me
This public forum is meant for questions and discussions about Visual FoxPro
  • Page:
  • 1

TOPIC: recno = -13

recno = -13 1 week 1 day ago #12559

  Kevin Clark's Avatar Topic Author Kevin Clark Offline Posts: 22
Using the FoxPro dialect, my code is:

CREATE _tmpstructure
append blank

Checking the CurrentWorkArea data in the watch window, my recno for _tmpstructure is now -13 and the reccount is -13 as well.Obviously neither recno not reccount should be a negative number, so am I doing something wrong?

Please Log in or Create an account to join the conversation.

recno = -13 1 week 12 hours ago #12564

  Karl-Heinz's Avatar Karl-Heinz Offline Posts: 456
Hi Kevin,

it seems to be a "DBFVFP" driver issue, because when i use the "DBFCDX" or "DBFNTX" driver the results are ok.

LOCAL i AS INT 


	i := 1

	
	DO CASE 
	CASE i == 1	
		RddSetDefault ( "DBFVFP")		

	CASE i == 2	
		RddSetDefault ( "DBFNTX")		
		
	CASE i == 3	
		RddSetDefault ( "DBFCDX")		 
		
	END CASE 


	CREATE _tmpstructure
	append blank
 
	
	
	// "DBFVFP" results are 4294967283 , -13 
	// otherwise 1 , 1
	
	? RecNo() , RecCount()

You should open a GitHub ticket to get it fixed.

regards
Karl-Heinz

Please Log in or Create an account to join the conversation.

recno = -13 1 week 10 hours ago #12567

  Chris's Avatar Chris Offline Posts: 1592
Thanks guys, problem confirmed and logged: github.com/X-Sharp/XSharpPublic/issues/296
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

recno = -13 4 days 4 hours ago #12632

  robert's Avatar robert Away Posts: 1433
Fixed in next build

Robert
XSharp Development Team
The Netherlands

Please Log in or Create an account to join the conversation.

  • Page:
  • 1