A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Saving records



 
 
Thread Tools Display Modes
  #1  
Old May 4th, 2004, 09:02 AM
Nick Clynes
external usenet poster
 
Posts: n/a
Default Saving records

Hi,

I have an open form. I want to write info into fields
then save without closing form or moving to next record.
Is it possible to do this programmatically by clicking a
button? What code should i use? Thanks in advance.
  #2  
Old May 4th, 2004, 11:08 AM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default Saving records

DoCmd.RunCommand acCmdSaveRecord

or:

Me.Dirty = False

--
HTH
Van T. Dinh
MVP (Access)


"Nick Clynes" wrote in message
...
Hi,

I have an open form. I want to write info into fields
then save without closing form or moving to next record.
Is it possible to do this programmatically by clicking a
button? What code should i use? Thanks in advance.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.