I have cobbled together a DSN-Less connection to an Access db in ASP and want it to display, in table format, all the records fitting a SQL criteria. I suppose a DO…WHILE…EOF is one way to go but I am not sure how to implement it. I’ve tried warpping the table with a DO loop but ASP seems to want the whole statement in one line, so i’ve put it at the beginning and the end and all i get is the first record.
this should be easy but i’m not getting anywhere…
here’s the SQL string:
SQLstring = “SELECT * FROM CRCG_Contacts WHERE CRCGType =’Children’;”
and here’s the attempt to build a simple list (not yet getting to a table):
i grabbed this code from an ASP help site and it works just fine, just trying to implement the advice in the comment.
for the record, I am on:
windows 2000 SR-2, frontpage 2000, iis 5.0