Microsoft
Software
Hardware
Network
Question : how to add two textboxes in access form to display in another textbox
I have a form in access 2000. I have a 3 unbound textboxes and one command button.
the datatype of textboxes is number.
If I code command button : me.textbox4 = me.textbox0 + me.textbox2
the equation works except when a number is not inputted into textbox0 or textbox2.
Can you tell me why this is?
and how can I have the number add anyways - even if one of two textboxes is empty?
thank you
Answer : how to add two textboxes in access form to display in another textbox
In the above code, the NZ function changes "nulls" to zeros, which can be added for a sum to be shown in the texbox4.
Random Solutions
Exchange 2007 - Transport Rule
SQL Select Distinct Results (Complex)
To covert an access report with pictures to any editable document format retaining all the graphics and other formatting settings
GetPivotdata Formula
How to open website (hosted on Win Server 2008, IIS) in Microsoft Frontpage 2000?
Windows cardspace has stoppped working
How to hyperlink a database of 1000's of Fedex tracking numbers to their own tracking Fedex webpage for beginner?
Custom DataGridView cell definition
Windows 2000 Server - How to repair or replace DNS service
join a computer to the domain