>oFrm.Edit1.Value = filetostr('m.txt') && original memofield is copied to m.txt >>pass through an editbox to add to the memofield and now i am trying to compare the original memofield with the editbox info
>if not empty oFrm.Edit1.Value &&& is editbox empty >wait window 'empty this works' >endif > >if oFrm.Edit1.Value # filetostr('m.txt') &&&& 'original memo field empty and editbox has data >wait window 'this does not work SITUATION IS NOT DETECTED' >endif > >if filetostr('m.txt') = " " original memofield empty >wait window 'this does not work SITUATION IS NOT DETECTED' >endif >>any help with correct effective code for these two situations much appreciated.