Microsoft
Software
Hardware
Network
Question : #Error when sub form has no value
Hi EE
I have a field on a form with a sum as the control:
=(([qryCountSalesCallStat subform].Form!Count_No_Ans
wer)+([qry
CountSales
CallStat subform].Form![Line Busy])+([qryCountSalesCall
Stat subform].Form![Answer Phone]))
This works fine when the subform has a value however when you create a new record this field always displays #Error message as its trying to add up a value at this stage doesnt exist.
I need this to say 0 instead of #Error.
I have tried using an iif formula but cant get it to work
How can i re-write the formula so if the subreport it refers to has not yet a value it returns a 0 and not a #Error
Answer : #Error when sub form has no value
txtBox1= DMax ("field","table") + 1
Random Solutions
VMware ESXi4 Backup
Can XM be read from a string in memory instead of a file location? - C#
Lable (and other elements) not appearing in my code behind
VMware Workstation 7.1 Won't Install
How can I find the position of the first occurance of a numeric charater in a string with PHP?
Amber Error PowerEdge 2650 e0d76
Does OpenOffice allow Windows 7 preview pane to preview .doc and .xls files?
WebSphere Data store helper class
can't find Printer Setup Utility in Mac OS X 10.5.8
Count consecutive values in MS SQL Server 2005