DanClark86
MIS
can someone give me a hand with the verbage of the the code? I want to pull information from a database to display in a form, if it is blank it will write a space to fill the form. when i save it it is then saving that space, and not creating a table anymore. because the cell is not null. So my question is how do i write a statement that would look at a access table, if the cell is null write a space, if the cell has information in it, then write the information.
I put this togeather and it worked for the null value, i just need to take it to the next level.
This is what i tried to write but i know There is something worng with it..
I put this togeather and it worked for the null value, i just need to take it to the next level.
Code:
<% If isNull(rstDBEdit.Fields("asset_tag")) then
%><P> </P><%
else
response.write rstDBEdit.Fields("asset_tag").Value
end if%>
This is what i tried to write but i know There is something worng with it..
Code:
<% If isNull(rstDBEdit.Fields("asset_tag")) then
%><P> </P><%
else
%><P> </P><%(rstDBEdit.Fields("asset_tag")) then
%><P> </P><%
else
response.write rstDBEdit.Fields("asset_tag").Value
end if%>