Options

How could I copy record to template recordref

vinceliu666vinceliu666 Member Posts: 51
Hi All:

I try to open an temp recordref and assign value to field as the code:

recRF.OPEN(18,TRUE);
recRF.SETTABLE(Customer);
recRF.FINDFIRST;
fldRef := recRF.FIELD(3);
fldRef.VALUE:='bbb';
recRF.MODIFY;
recRF.CLOSE;

When i use the command recRF.OPEN(18,False) , it will update the value to Customer . But if I modify recRF.OPEN(18,TRUE) , it always show the record is empty. How could I copy record to template recordref ? Is there any ideal to do it?
Sign In or Register to comment.