Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Queries

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-28-2010, 12:58 PM
aabh aabh is offline Windows Vista Access 2000 (version 9.0)
Novice
 
Join Date: Jan 2010
Posts: 14
aabh is on a distinguished road
Default Append Query

I'm probably doing something very strange...

I have three tables:

1) A Client table with a registration number, last name, first name, demographic info (City, State, Zip, etc).

2) A Testing table which tracks the results of our testing process.

and

3) A session table, which tracks information on an individual session.

What I need to do is make a form where my admin can "add" a session or Test to the latter two tables. The problem is currently we are an all-paper company, and so if this becomes too difficult, they simply won't use it (we spent two weeks last month just recovering bad records because one of the admins liked my previous dataase, but the other hated it and didn't enter data into it...)

so, I need to get a clients ID#, Last Name and First name pre-entered on the form that will append data to the Testing and Session tables.

IE.

Admin opens database,

Searches for "Timmy Test"

Brings up Timmy Test's records with blank fields for "Trainer" "Session Date" and "Session time"

Admin enters only "Trainer", "Session Date" and "Time" and then hits "Append"

Then ID number, Last name, first name, Trainer, session date and session time are all appended to the Session Table.

I'm using Access 2000 (for the time being- our company is SUPER cheap), and I am pretty familiar with Access, but not VB programming (I know how to use the GUI interface version of Access)- so if it requires some form of "select" query, I'll need some hand-holding in order to know what field to put it in on the GUI...

I'm willing to haunt these forums and help others out in the future if I can... Thanks in advance!

---Aabh

Last edited by aabh; 01-28-2010 at 01:00 PM. Reason: Clerification
Reply With Quote
  #2  
Old 02-01-2010, 09:26 AM
aabh aabh is offline Windows Vista Access 2000 (version 9.0)
Novice
 
Join Date: Jan 2010
Posts: 14
aabh is on a distinguished road
Default

Okay, I'll presume that this was too complex a thought process for Access 2K

Let's try a different tactic: I have these three tables; The Main table with my patients' name and id number, and then two other tables which need to "inherit" a few fields from that Main table and then have input from the user for the remainder of the tables. (I.E. Column 1,2 and 3 come from the main table (Name, id number), whereas columns 4-20 are all input into the table from a form).

How would you recommend I go about it?

Thanks!

---Aabh
Reply With Quote
  #3  
Old 02-01-2010, 02:41 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Your presumption is not accurate. Have you tried using a MainForm/SubForm for your user interface?
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #4  
Old 02-01-2010, 03:21 PM
aabh aabh is offline Windows Vista Access 2000 (version 9.0)
Novice
 
Join Date: Jan 2010
Posts: 14
aabh is on a distinguished road
Default

Actually, that's what I'm doing now... I guess I was thinking too complex... Typical, I needed to attack this from a different angle.

I now have a Start Form where you type the first and last name in to a form and push a button to launch the Find form.

The Find form then takes that data and produces a record set for that one individual.

The user "okays" that by pushing a third button and launching the add record form. The first three fields have a default value set to the fields on the second (Find) form (And they are locked).

I am just now building it, so I'm not sure it works just yet.
Reply With Quote
  #5  
Old 02-01-2010, 03:31 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

We'll stay tuned.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #6  
Old 02-02-2010, 12:47 PM
aabh aabh is offline Windows Vista Access 2000 (version 9.0)
Novice
 
Join Date: Jan 2010
Posts: 14
aabh is on a distinguished road
Default

Okay, I solved it! It is in fact, as you say, using a series of forms to enter the data. It works, now I have another problem that I need to fix, but that is a form problem (So I'll post in the Form area).

I'll mark this one "Solved"!

Thanks!

--Aabh
Reply With Quote
  #7  
Old 02-02-2010, 01:26 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Thanks for the update.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Append Query cotri Queries 1 01-28-2010 05:52 PM
Command Button to send RecordID to append query? mcwillo Forms 1 01-20-2010 09:54 AM
append query for multiple databases vasto Access 0 09-24-2009 06:34 AM
append query error shashigk Queries 2 09-22-2009 05:17 AM
Access append query antoniorossano Queries 1 08-26-2009 11:17 AM


All times are GMT -8. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.