Update Record

B

Bayern66

This is probably a easy answer for you guys. Just trying to find the
easiest way to do this.

I want to click on a link and update a field in a recordset, but don't want
to leave the current page.

HrngID is the link
I want to change the Canceled field from a 1 to 0 when clicking on the link

I know I can use a onclick event, but not sure if these is an easier way.
Can I do like a onclick and run a SQL statement on one line?
 
P

Phillip Windell

Bayern66 said:
I want to click on a link and update a field in a recordset, but don't want
to leave the current page.

No. You have to leave the page.
HrngID is the link
I want to change the Canceled field from a 1 to 0 when clicking on the link

I know I can use a onclick event, but not sure if these is an easier way.
Can I do like a onclick and run a SQL statement on one line?

The OnClick is "client-side",..the databse is "Server-side",...two different
"worlds".

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top