It would help if we knew what data type THISFORM.ReplaceCodes(THIS.VALUE) is supposed to return.
>Hi all
>
>I have this form with memo fields (FireBird BLOB) shown in edit boxes.
>
>These boxes are supposed to contain string like <*SrNo*> which my procedure is supposed to replace with the actual nos. and return that value back to the edit box. I get the following error when the method exits. Please advise how I can do such an assignment:
>
>
Error #: 1881
>Message: Error with edtMstateoffacts - Value : Data type mismatch.
>Line #: 3
>Code: THIS.VALUE = THISFORM.ReplaceCodes(THIS.VALUE)
>Method: lostfocus
>Object: afrmtca11.pgf.edtMstateoffacts
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.