Forums
This topic is locked
Format on blank fields
Posted 28 Sep 2001 18:00:20
1
has voted
28 Sep 2001 18:00:20 Alex Xander posted:
anyone know how to skip set a format to a field of a detail detail page, because its show an error when the field is empty.I did drop my field on my form and i put the currency format on the data bindings window
Replies
Replied 29 Sep 2001 18:42:29
29 Sep 2001 18:42:29 Viktor Farcic replied:
Use If.. Then... statement. Something like:
<%
If SomeField <> "" Then
Show that field with formating
End If
%>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
anyone know how to skip set a format to a field of a detail detail page, because its show an error when the field is empty.
I did drop my field on my form and i put the currency format on the data bindings window
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<%
If SomeField <> "" Then
Show that field with formating
End If
%>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
anyone know how to skip set a format to a field of a detail detail page, because its show an error when the field is empty.
I did drop my field on my form and i put the currency format on the data bindings window
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>