View Full Version : Need help
tleiker2001
08-02-2006, 11:54 AM
I am looking to create a button that updates an Access DB by incrimenting the value by one. Anyone got anything?
Nook Schreier
08-02-2006, 12:21 PM
The button would be in a form (of course) that points to a page that increments the DB. Also, you would normally use either ASP or PHP to do this, not JavaScript. Since you mention an Access DB, I'll assume you use ASP and already understand how to use the DB with an ASP page. Therefore, you would have a SQL statement that looks similar to this:
UPDATE TableName SET FieldName = FieldName + 1 WHERE (RowID = ???)
I believe this will work for you.
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.