I'm trying to work with last CVS version of xHarbour, I have interest in the USRRDD, the next example compile, but when I try to modify or delete some record the program crash, some body ( Enrico? ) have idea why? is a xHarbour or FW issue
Code: Select all
#INCLUDE "fivewin.ch"
REQUEST ARRAYRDD
FUNCTION main()
LOCAL aStruct
SET CENTURY ON
SET DELETED OFF
aStruct := { ;
{ "NAME" , "C", 40, 0 } ,;
{ "ADDRESS" , "C", 40, 0 } ,;
{ "BIRTHDAY" , "D", 8, 0 } ,;
{ "AGE" , "N", 3, 0 } ;
}
dbCreate( "arrtest.dbf", aStruct, "ARRAYRDD" )
USE arrtest.dbf VIA "ARRAYRDD"
dbAppend()
field->name := "Giudice Francesco Saverio"
field->address := "Main Street 10"
field->birthday := CToD( "03/01/1967" )
field->age := 39
dbAppend()
field->name := "Mouse Mickey"
field->address := "Main Street 20"
field->birthday := CToD( "01/01/1940" )
field->age := 66
arrtest -> ( DBGOTOP() )
BROWSE()
RETURN NIL
Regards
Marcelo