AppenDB and RecNo()
Posted: Mon Nov 09, 2020 5:18 pm
Hello
odbServerNew:AppendDB (odbServer, , {|| _Field->RecNo() < nRecno})
This works on VO but produce a compiler error on X#
error XS0103: The name 'RecNo' does not exist in the current context 2870,49 Auftrag.prg HandAuftragContext:Auftrag_Ein_Change
i tried - FIELD->RecNo() - same like _Field and then _Field->RecNo or FIELD->RecNo or RecNo() - this compiles but doesnt work. The DB has one empty record.
Horst
odbServerNew:AppendDB (odbServer, , {|| _Field->RecNo() < nRecno})
This works on VO but produce a compiler error on X#
error XS0103: The name 'RecNo' does not exist in the current context 2870,49 Auftrag.prg HandAuftragContext:Auftrag_Ein_Change
i tried - FIELD->RecNo() - same like _Field and then _Field->RecNo or FIELD->RecNo or RecNo() - this compiles but doesnt work. The DB has one empty record.
Horst