Filed equal if

Vugar

Registered User.
Local time
Tomorrow, 00:59
Joined
Sep 15, 2015
Messages
55
Hi,

I have 2 field: Status and Project.

Can I set default value for Status

1. if Project is blank status = purchase
2. if Project is not blank status = return


thank you
 
On the form OnLoad or OnCurrent event, as appropriate:

PHP:
If me.project & "" = "" then me.project = me.purchase or [the purchase value, where ever or what ever it is].
 

Users who are viewing this thread

Back
Top Bottom