Access Question: How do I add a button that adds a new record when clicked?

GoingUp

Lifer
Jul 31, 2002
16,720
1
71
I'm making a nice GUI frontend for a database Im working on. I want to have a button that clears all of the drop boxes and text boxes and inserts a new record without wiping out the one that I was just viewing. Anyone know of a good way to do this? Im using Office XP.

Thanks :)
 

KB

Diamond Member
Nov 8, 1999
5,404
386
126
I don't thin kthere are any built-in functions to do that. You are probebly going to have to use DAO or ADO and execute a SQL INsert statement in code.
 

GoingUp

Lifer
Jul 31, 2002
16,720
1
71
Originally posted by: KB
I don't thin kthere are any built-in functions to do that. You are probebly going to have to use DAO or ADO and execute a SQL INsert statement in code.

Just found that command using the button wizard. Does everything automatically for you :D