Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 14th, 2004, 12:54 PM
BetsyBean BetsyBean is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 14 BetsyBean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 15 sec
Reputation Power: 0
Load Data Into Table Through Program

Hello All,

I would like to load a new row of data into a table from VBA programming.

For example, in a payroll database, the user enters a form and
on exiting, I want to add another row of data programmatically based
on what the user entered in the entry form.

Also, I would like to sometimes update one field of the row entered by
the user.

How can I load new data or update existing data from program?

Thanks

Reply With Quote
  #2  
Old January 2nd, 2005, 03:41 PM
ejkujan ejkujan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 6 ejkujan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You have to have a way to trigger the sub in VBA. Depending when you want the data entered or updated either when the user loses focus on a field or before the form unloads. Look in VBA and find the event that would pertain to the situation you would require and place the update code in that event code. The description of what you want to update is general so I can't give exact coding that would be required. Find a good VBA for Access book and it will describe the what your looking for in the way of code. It will require some studing on your part to do it, but it shouldn't be that complicated. I hope this helps.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Load Data Into Table Through Program


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway