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 June 13th, 2005, 06:10 PM
schuyler17 schuyler17 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 1 schuyler17 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 14 sec
Reputation Power: 0
Unhappy Creating new record from Combobox selection

Hi there,

I want to create a new record in the table associated with my main form based on a combobox selection in a subform.

The record sources on my main form come from my "Event" table, which has its own primary key, a description field, and 2 fields containing the primary keys from my "Event Type" and "Event Site" tables.

My first subform has a Combobox that lists Event Types from my "Event Type" table. My second subform is linked to my "Event Site" table and contains text boxes where the user can input Event Site Name, Address, and Contact Information. I want to use the information input on both subforms to create a new entry in my "Event" table.

Basically, I want to take the info selected/typed on this form and:
A) Create a new entry in my "Event Site" table (using data entered in subform 2)
B) Create a new entry in my Event table using the input from the Combobox (in subform 1) and the newly created primary key from part A.

Do I need to separate forms to review the "Event" info versus input new entries?

I volunteered to do this to help organize the Sierra Club's volunteer database and think I've bitten off more than I can chew! Any help would be GREAT!

Thanks!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Creating new record from Combobox selection


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 4 hosted by Hostway
Stay green...Green IT