ASP/ADO Table - I.E. v. Netscape

Results 1 to 3 of 3

Thread: ASP/ADO Table - I.E. v. Netscape

  1. #1
    Join Date
    Dec 1969
    Posts
    169

    Default ASP/ADO Table - I.E. v. Netscape

    This probably has been asked and answered many times, but this is the first time I have run into it. What do I have to do to make the following code give me more than the last record in Netscape? I works beautifully in I.E. I&#039ve tried using the VI6 grid, but that just does not look the way I want it<BR>to.<BR><BR>I want to print 3 fields from a record one after the other in a column and then start the next record rather than using a table with one record per line and the fields printing horizontally.<BR><BR>Any pointers will be appreciated.<BR><BR>Lynn<BR><BR><BR>The code is:<BR><BR>&#060;%<BR>while not rsOLRes.EOF<BR> %&#062;<BR> &#060;table border="1" cellspacing="1" width="90%"&#062;<BR> &#060;tr&#062;<BR> &#060;td width="85%" align="center" bgcolor="#008080"&#062;&#060;font face="Arial"<BR>color="#FFFFFF"&#062;<BR>&#060;str ong&#062;&#060;%= rsOLRes("OlrSource")%&#062;&#060;/strong&#062;&#060;/font&#062;&#060;/td&#062;<BR> &#060;/tr&#062;<BR><BR> &#060;tr&#062;<BR> &#060;td width="85%"&#062;&#060;font face="Arial" size="2"&#062;&#060;strong&#062;&#060;%=<BR>rsOLRe s("OlrDescription")%&#062;&#060;/strong&#062;&#060;/font&#062;&#060;/td&#062;<BR> &#060;/tr&#062;<BR><BR> &#060;tr&#062;<BR> &#060;td width="85%" align="center"&#062;&#060;font face="Arial"<BR>size="1"&#062;<BR>&#060;strong&#06 2;&#060;a HREF="&#060;%= rsOLRes("OlrURL") %&#062;"&#062;&#060;%=<BR>rsOLRes("OlrURL") %&#062;&#060;/a&#062;&#060;/strong&#062;&#060;/font&#062;<BR><BR>&#060;/td&#062;<BR> &#060;/tr&#062;<BR> &#060;%<BR> rsOLRes.MoveNext<BR>wend<BR>%&#062;<BR><BR><BR><BR >

  2. #2
    MChance Guest

    Default RE: ASP/ADO Table - I.E. v. Netscape

    Bad IE for rendering this! This is what you should have:<BR><BR>&#060;%<BR>while not rsOLRes.EOF<BR>%&#062;<BR>&#060;table border="1" cellspacing="1" width="90%"&#062;<BR>&#060;tr&#062;<BR>&#060;td width="85%" align="center" bgcolor="#008080"&#062;&#060;font face="Arial"<BR>color="#FFFFFF"&#062;<BR>&#060;str ong&#062;&#060;%= rsOLRes("OlrSource")%&#062;&#060;/strong&#062;&#060;/font&#062;&#060;/td&#062;<BR>&#060;/tr&#062;<BR><BR>&#060;tr&#062;<BR>&#060;td width="85%"&#062;&#060;font face="Arial" size="2"&#062;&#060;strong&#062;&#060;%=<BR>rsOLRe s("OlrDescription")%&#062;&#060;/strong&#062;&#060;/font&#062;&#060;/td&#062;<BR>&#060;/tr&#062;<BR><BR>&#060;tr&#062;<BR>&#060;td width="85%" align="center"&#062;&#060;font face="Arial"<BR>size="1"&#062;<BR>&#060;strong&#06 2;&#060;a HREF="&#060;%= rsOLRes("OlrURL") %&#062;"&#062;&#060;%=<BR>rsOLRes("OlrURL") %&#062;&#060;/a&#062;&#060;/strong&#062;&#060;/font&#062;<BR><BR>&#060;/td&#062;<BR>&#060;/tr&#062;<BR>&#060;/TABLE&#062;<BR><BR>&#060;%<BR>rsOLRes.MoveNext<BR> wend<BR>%&#062;<BR><BR>I am assuming that you want a table to be built for every run through the loop. In Netscape, yo have to have a closing TABLE tag. I&#039m surprised that you even got anything without the closing table tag.<BR><BR>Mark Chance

  3. #3
    Join Date
    Dec 1969
    Posts
    169

    Default RE: ASP/ADO Table - I.E. v. Netscape

    Thanks, Mark. You are absolutely right, of course.<BR><BR>I had an end table tag - just in the wrong place, after the wend clause (and inadvertently omitted from the pasted code), when it should have been before. <BR><BR>The results will soon be posted to a website hosted via ORCS web.<BR>;-)<BR><BR>Thanks.<BR>lhz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •