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 10 Jan 2020 16:45 #12559

  • Kevin Clark's Avatar

  • Kevin Clark

  • Topic Author


  • Posts: 68
  • 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 11 Jan 2020 08:31 #12564

  • Karl-Heinz's Avatar

  • Karl-Heinz


  • Posts: 549
  • 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 11 Jan 2020 10:28 #12567

  • Chris's Avatar

  • Chris


  • Posts: 1878
  • 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 14 Jan 2020 16:04 #12632

  • robert's Avatar

  • robert


  • Posts: 1678
  • Fixed in next build

    Robert
    XSharp Development Team
    The Netherlands

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

    • Page:
    • 1