Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Add new record using code in Access 2008

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access
View previous topic :: View next topic  
Author Message
cribragoofalo
New Member


Joined: 11 Nov 2007
Posts: 5
Location: Fiji

PostPosted: Mon Jun 16, 2008 10:46 am    Post subject: Add new record using code in Access 2008 Reply with quote

I used to be able to add a new record using the button wizard and it made code, now it makes a macro, how do I do it in code?
Back to top
View user's profile Send private message
flipleEffogue
New Member


Joined: 12 Nov 2007
Posts: 6
Location: The Bahamas

PostPosted: Mon Jun 16, 2008 10:48 am    Post subject: Reply with quote

I had the same problem, it sticks because I never commited it to memory I just used the button wizrd then let it create the code, but here it is:

Code:
'add new record
DoCmd.GoToRecord , , acNewRec
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group