Requested Fields

CurlyNiss
CurlyNiss Member Posts: 4
Hi all,
i have been thinking of a way to make 2 fields in a table requested fields.I tried the not blank property,but this one doesnt work unless u r in the field then out...
i wanan try to check the two fields once i close the form,if they r empty i need a message,but i want to keep the form opened with the same record..is there any way to do that?
thx for ur help..
Nisrine AOUN
Consultant Developer
Megatek-Lebanon
Nisrine M.AOUN

Comments

  • eromein
    eromein Member Posts: 589
    This is quite easy... but first!

    The notblank property is working but only for fields in the primairy key.

    A form has a trigger called "OnQueryCloseForm() : Boolean". Program the following in there!
    EXIT(Confirm(Text50000,false));
    

    * I do not support this solution.
    ** Code has not been tested.

    Good luck!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."