loading the data info from dbf
Posted: Wed Jun 23, 2021 10:24 am
I load in the aItems array first a line that I need for the umbrella info, then I load the services in the same array aItems
the problem is that
aItems := oRigheInvoice:DbfToArray( cItemFlds, { || FIELD->Invoice ==alltrim(nInvoice) } )
delete everything in aItems
how should i not delete what it finds in aItems?
Code: Select all | Expand
aItems:=AddFirstRecord()
aItems := oRigheInvoice:DbfToArray( cItemFlds, { || FIELD->Invoice ==alltrim(nInvoice) } )
the problem is that
aItems := oRigheInvoice:DbfToArray( cItemFlds, { || FIELD->Invoice ==alltrim(nInvoice) } )
delete everything in aItems
how should i not delete what it finds in aItems?