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
Error 84ff System Event Log Full
Getting the Index of a Repeater Row
OWA internal connection issue, Exchange 2007 SBS 2008
VBA code to clean all cells in all worksheets from non-printable characters
How to format SQL query string in vb.net for a multi-field index in Access??
MS Access - how to trap SQL primary key violation error?
Changing the source for a query
Access 2007 Database Created on Windows & Does Nothing When Opened on XP
Crystal Reports newbie - how to increase text size
How to read a date column in excel using C#