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

Calling stored UPDATE query from Access

Status
Not open for further replies.
May 13, 2008
24
US
Can someone explain to me how to call an Access update query and pass it parameters?

Thanks in advance!!! My five month old is sucking my fingers down his throat or I'd write more.
 
I'm interested in this.

Remou, I'm going to read and work through that article.

Johnny, This is what I did trying to learn about this (I posted this in another thread):

Within Access I made a query that looked like this and saved it as insert_player2

Code:
INSERT INTO registered ( fname, lname, stradd )
VALUES ([fname], [lname], [stradd]);

Obviously I think you could make an update query instead. Then my ASP form page does this after setting up the connection and getting the variable values from the requestform:

Code:
Set con = Server.CreateObject("ADODB.Connection")
con.Mode = 3
con.Open data_source
con.insert_player2 fname, lname, stradd
con.Close

HTH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top