PC Review


Reply
Thread Tools Rate Thread

add record "on click"

 
 
=?Utf-8?B?cGF1bGEgaw==?=
Guest
Posts: n/a
 
      8th Nov 2006
What is the VB code to add a new record "on click"? I have some code running
that sends an email after they click on the form, and I basically want the
form to be cleared (aka by a new record).

Thanks!
 
Reply With Quote
 
 
 
 
Brendan Reynolds
Guest
Posts: n/a
 
      8th Nov 2006
DoCmd.GoToRecord acDataForm, Me.Name, acNewRec

--
Brendan Reynolds
Access MVP


"paula k" <(E-Mail Removed)> wrote in message
news:562F0117-53F2-4EC6-BC4E-(E-Mail Removed)...
> What is the VB code to add a new record "on click"? I have some code
> running
> that sends an email after they click on the form, and I basically want the
> form to be cleared (aka by a new record).
>
> Thanks!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
open a form to child record using bound text box "on click" lenox.noah@comcast.net Microsoft Access Form Coding 1 8th Mar 2007 03:54 PM
How could i disable edit record on form after i click "save button" boolean Microsoft Access Forms 0 15th May 2006 03:54 PM
How could i disable edit record on form after i click "save button" boolean Microsoft Access Forms 0 15th May 2006 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:19 PM.