Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dBase-III with ASP 2

Status
Not open for further replies.

jcbr

Programmer
Apr 19, 2001
12
US
Hello, I am trying to set up an asp site using dBase-III. Any ideas on how to do this? This is what I currently have...

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "DSN=Custmast"
Set rsCustmast=Server.CreateObject("ADODB.Recordset")
lsQuery="SELECT CUST_NAME FROM Custmast.dbf"
Set rsCustmast=objConn.Execute(lsQuery)


Also, does anyone know how many users can access the web page. I know that Access only lets ~64 users on before it crashes.
Thanks!
 
you're almost there:

your recordset rsCustmast has the result of the IsQuery. Now you need a loop:


while not rsCustmast.eof
response.write rs(0) & &quot;<br>&quot; ' = CUST_NAME
rsCustmast.movenext
wend

BTW: i had major troubles UPDATING a dBASE file (the famous updateable query error). INSERTING was no trouble (so nothing wrong with my permissions).

br
Gerard
(-:

Better a known bug then a new release.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top