Microsoft
Software
Hardware
Network
Question : handling empty textboxes
Hello,
I have a form that adds values for different days up.
depending on data- some textboxes do not get a number inputed into them.
I declare variables like: Dim DayOne As Double
then for each variable I write: DayOne = IsNull(Me.txtDayOne), 0, Me.txtDayOne)
then I finish by saying me.Total = DayOne + DayTwo + etc.........
this works - I am just wondering if this is acceptable code
thank you
Answer : handling empty textboxes
DayOne = IIF(IsNull(Me.txtDayOne), 0, Me.txtDayOne)
davetough,
if it is working why not..
i don't see anything wrong with that...as you describe it..
Random Solutions
remove formula from hidden rows
Excel 2007 Subtotal Function
Exchange 2007 powershell commands
Can not print £ sign on zebra 2844 printer
Can anyone tell me what this Outlook code does...
in Excel - is it possible to copy only the numeric values in a given column? I want to copy a column which contains text & numbers - but I only need the numbers t
What does this mean - Passing variables
Compile Error: Object Required
Mail merge selected records into Word
Access a SBS 2003 remotely via Remote Desktop gives a Logon Error.