I want that before closing a form, you check a number of fields and, if they are empty, the form is not closing. I can´t find the correct function because in all cases it closes.
I want that before closing a form, you check a number of fields and, if they are empty, the form is not closing. I can´t find the correct function because in all cases it closes.
jaja thx for the answers... i´ll prove it on the other trigger...
EDIT: In that trigger is all right!!! :thumbsup:
really? if you move to the next record - your fields are still blank and if you fill in that record correctly you can close the form.
true? if so then it's not 100% effective. You want to cover all your bases and make the system work the same from everywhere therefore table validation is what you should be looking for.
ps try to stay away from code on forms if at all possible.
Is this for New items/customers/vendors/po's/so's, etc?????
Comments
...
...
...
MyConditionVar := FALSE;
EXIT(MyConditionVar);
JUST
...
DON'T
....
DO
...
IT!!!!!!!!
Find another way.
](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,)
http://www.BiloBeauty.com
http://www.autismspeaks.org
Of course there would be also a in the code...
EDIT: In that trigger is all right!!! :thumbsup:
really? if you move to the next record - your fields are still blank and if you fill in that record correctly you can close the form.
true? if so then it's not 100% effective. You want to cover all your bases and make the system work the same from everywhere therefore table validation is what you should be looking for.
ps try to stay away from code on forms if at all possible.
Is this for New items/customers/vendors/po's/so's, etc?????
http://www.BiloBeauty.com
http://www.autismspeaks.org