Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 25th, 2003, 01:42 PM
egotek egotek is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 egotek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access: Add Record from fields with command button

I have several fields on a form and I need to be able to add the info from the fields to an existing table as a new record.

For example:
Take the info from Text1 & Text2 and put it as new record in the table called 'tblAnalysts' under the fields 'Name' (for text1) and 'Locaiton' (for text2).

I pretty much need to know how to access a table (add records, remove records, update/change records), but without having the table linked to the form or text boxes.

Hopes this makes sense
I'm not a noob, but certainly not an expert. Any help/insight will be appreciated.

thanks,
michael

Reply With Quote
  #2  
Old September 11th, 2003, 02:59 PM
UComp_Pres UComp_Pres is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: USA
Posts: 5 UComp_Pres User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
What version of Access are you using? The best way to accomplish this is to use DAO or ADO. If you give me more info I can give you some example code. It is important to know exactly what version of access you are useing as well as what your referances are to DAO and ADO. To get to the references:

Module tab
Either double click an existing module or start a new one.
Once you are in the VB design window us the toolbar commands:
Tools
-References

Reply With Quote
  #3  
Old September 11th, 2003, 03:26 PM
egotek egotek is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 egotek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Got it figured out a while back. Thanks tho!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Access: Add Record from fields with command button


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