Forums

ASP

This topic is locked

disappearing data??

Posted 25 Jan 2002 14:52:47
1
has voted
25 Jan 2002 14:52:47 Rick Harding posted:
I have a page that prints a table based on a condition
Which ever field I use in the test comes up blank in the table. The data is
in the database...if I test to see if litintro <> "" then it won't print in
the table...if I test litconclusion <> "" then litintro & the rest get
printed, but not the conclusion. Any ideas?

<pre id=code><font face=courier size=2 id=code>
&lt;% IF (printinfo.Fields.Item("litintro".Value) &lt;&gt; "" THEN %&gt;
&lt;table width="620" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table width="620" border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td&gt; &lt;p&gt; &lt;span class="bold"&gt;Introduction:&lt;/span&gt;&lt;br&gt;
&lt;%=(printinfo.Fields.Item("litintro".Value)%&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;p&gt; &lt;span class="bold"&gt;Review:&lt;/span&gt;&lt;br&gt;
&lt;%=(printinfo.Fields.Item("litreview".Value)%&gt; &lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;p&gt; &lt;span class="bold"&gt;Conclusion:&lt;/span&gt;&lt;br&gt;
&lt;%=(printinfo.Fields.Item("litconclusion".Value)%&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;% end if %&gt;
</font id=code></pre id=code>

Rick Harding
U of M CS Student / Network Admin for MSU FAME
"Techies just think differently...at least that's what they keep telling me"

Replies

Replied 25 Jan 2002 16:15:29
25 Jan 2002 16:15:29 Rick Harding replied:
well, for some reason...not sure why...if I movefirst after the if statement check it works



Rick Harding
U of M CS Student / Network Admin for MSU FAME
"Techies just think differently...at least that's what they keep telling me"
Replied 25 Jan 2002 16:15:42
25 Jan 2002 16:15:42 Rick Harding replied:
well, for some reason...not sure why...if I movefirst after the if statement check it works



Rick Harding
U of M CS Student / Network Admin for MSU FAME
"Techies just think differently...at least that's what they keep telling me"
Replied 25 Jan 2002 16:16:04
25 Jan 2002 16:16:04 Rick Harding replied:
not sure why, but if I do a movefirst after the if check then it works.

Rick Harding
U of M CS Student / Network Admin for MSU FAME
"Techies just think differently...at least that's what they keep telling me"
Replied 25 Jan 2002 16:16:23
25 Jan 2002 16:16:23 Rick Harding replied:
not sure why, but if I do a movefirst after the if check then it works.

Rick Harding
U of M CS Student / Network Admin for MSU FAME
"Techies just think differently...at least that's what they keep telling me"

Reply to this topic