Hello ,
I made some test with autoincrement field :
DBCREATE(cDbfFile , {{"ID","+",10,0}} , "DBFCDX" , .T. )
DBG DbStruct() // gives ID , + , 4 , 0
? FieldLen("ID") // 4 WHY TRUNCATED TO 4 ?????????????????????????
FOR i := 1 TO 10001
DBAPPEND()
NEXT
? Recno() , FIELD->ID // 10001 , 10001
FIELD->ID accepts a number with length 5 , DSTRUCT seems to give a wrong result !!!
What is the real length ??? maybe 10 ?????
How can it be showed ?
Frank Demont