Filter and Locate
Posted: Mon 07 Apr 2014 20:11
Hello all
I am trying to use the locate method whith the following code:
VTPCon.Locate('ID_Emp;CCon', VarArrayOf(['nID_Emp;cClaveCon']), []);
But I can not locate the record. Is there something wrong?
---
I am trying to filter the same virtual table with the following code:
VTPCon.Filter := 'ID_Emp = ' + VTMov.FieldByName('ID_Emp').AsString;
VTPCon.Filtered := true;
---
Do am I missing something? Thanks and best regards!!
I am trying to use the locate method whith the following code:
VTPCon.Locate('ID_Emp;CCon', VarArrayOf(['nID_Emp;cClaveCon']), []);
But I can not locate the record. Is there something wrong?
---
I am trying to filter the same virtual table with the following code:
VTPCon.Filter := 'ID_Emp = ' + VTMov.FieldByName('ID_Emp').AsString;
VTPCon.Filtered := true;
---
Do am I missing something? Thanks and best regards!!