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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data source

Status
Not open for further replies.

richmckinnon

Programmer
Joined
Jan 6, 2004
Messages
4
Location
GB
i have the following in my page. I am stuck on what to put for the data source as when i look at the page on the web it still thinks my database is on my c:

Set objConn = CreateObject("ADODB.Connection")
Set objRS = CreateObject("ADODB.Recordset")

objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\fpdb\orders.mdb;"
strSQL = "SELECT * FROM orderstatus where orderref=" & ordnum & " and lastname=" & chr(34) & lastnam & chr(34)
Set objRS = objConn.Execute (strSQL)

msgstr = "Order number: " & ordnum & vbcrlf
msgstr = msgstr & "Last name: " & lastnam & vbcrlf
msgstr = msgstr & "Order: " & objrs("order") & vbcrlf
msgstr = msgstr & "Status: " & objrs("status")
msgbox msgstr,,"dvd-it-all"
objrs.close


For all your vhs/hi8, slides, negatives, transparencies and photos to dvd.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top