IIF function

digit

Registered User.
Local time
Today, 00:03
Joined
Jan 23, 2003
Messages
44
is there everyone who can tell because im new in VB- how can i make iif function in Access form with 2 text boxex, where if 1st text box is >0 then 2nd text box = 1st textbox*2
 
do you want VBA or an IIF??? or a query? I am lost here...

all are not that hard but a little more info on what you are trying to do???

Regards
 
digit,

Me.txtbox2 = Iif(Me.textbox1 > 0, Me.textbox1 * 2, Me.textbox2)

wayne
 

Users who are viewing this thread

Back
Top Bottom