L'apprentis
Redcifer
- Local time
- Today, 00:35
- Joined
- Jun 22, 2005
- Messages
- 177
Hello,
I have a text box bound to a Dlookup function which works pretty well. If the Dlookup return no value or 'null value' no values are displayed in the text box.
I was trying to get the text box to show 0 if the dlookup function returned no value but I don't know if i am using the right function or the apropriate method:
I have added a code on the load event of my form:
I don't know if what i am trying to do makes any sense but if anybody feels like putting me back on the right path i would be gratefull.
I have a text box bound to a Dlookup function which works pretty well. If the Dlookup return no value or 'null value' no values are displayed in the text box.
I was trying to get the text box to show 0 if the dlookup function returned no value but I don't know if i am using the right function or the apropriate method:
I have added a code on the load event of my form:
Code:
If isnull([dlookup1]) then
[Dlookup1]=0
End if
I don't know if what i am trying to do makes any sense but if anybody feels like putting me back on the right path i would be gratefull.