A Simple, Yet Frustrating Question From A Newbie
Jul 19, 2007
Hey all,
Just found the forum -- love it. I'm hoping it'll help me out with a lot of my problems. I've extensive experienced coding for PDAs, and with other databases or VBA-based programs, but I've just run into a frustratingly simple problem with an Access database I'm building for medical school (I'm a second-year med student).
Here's the situation: I've two linked tables -- e.g., TblNeuroQuestions and TblNeuroAnswers -- in which the primary key in both is the Question # field. I've created a form to easily enter data enter the questions table (question #, question, and 5 answer choices.) What I want to do is have the question text automatically be copied into the corresponding Question field in the TblNeuroAnswers table, so that I don't have to do it manually (the structure of the TblNeuroAnswers is merely Question #, Question, Answer (A,B,C,D,E), and Explanation). In other words, I want the entry of the question data in the main form (the NeuroQuestions form, which enters data in the TblNeuroQuestions table) to automatically be entered in the corresponding Question field of the TblNeuroAnwsers table.
It seems like it should be an easy thing to do; run a simple update query, for example. But I'd like the form do dual entry, so to speak. Any suggestions?
View Replies
ADVERTISEMENT
Aug 6, 2006
I am completely new to Access but probably all I will need is a gentle push in the right direction. I'd like to think I'm fairly quick at learning new things. Thank you in advance, here's where I am, (first step anyway):
Table 01 Parts List
ID - name - cost
Table 02 Item List
ID - nick name - description
Table 03 Items to parts relationship (this is where I fall apart)
ID - Item ID (relationship to table 02) - Item nickname - PartID (relationship to Table 01) - Part name - Part quantity.
What I am trying to do:
I resell items in table 02 which are built of various parts from table 01. I need to generate a table that says:
Item 1 is built from 4 of part 1, 2 of part 2, 9 of part 3, and the total cost of parts for Item 1 is x. I want to update the parts list cost on a regular basis and have the item price change reflected.
If I can understand how to make this work, I can ultimately add in labor and overhead etc etc. Baby steps for now.
Thanks again
-Richard
PS
Here's a copy of my sad little db
http://www.biggsandsmith.com/temp/Trial-db2.mdb
View 4 Replies
View Related
Oct 23, 2004
Hi, I've looked all over the forum for an answer to my problem and can't find it. This will probably make regular contributors groan, but I'm totally confused and if someone could help that would be ace.
I've got a popular budget airline website (never mind it's URL, I don't like Spam either) and want/need to move it to Access and thence to run user queries via SQL.
So far so good.
So I set up an access DB:-
I've got three tables:-
Airline Info has three fields:- Airline Code (3 letters, primary key), Airline Name and Airline URL.
Airline Routes has four fields:- RouteID (9 letters, primary key), Airline Code (3 Letters), From Airport Code (3 Letters), To Airport Code (3 Letters).
Airport Info has three fields:- Airport Code (3 letters, primary key), Airport URL and Airport Name.
Hopefully anyone reading is still with me.
I've set up the relationships so that Airline Info.Airline Code is linked to Airline Routes.Airline Code.
Now I want Airline Routes.From Airport Code and Airline Routes.To Airport Code to both link to Airport Info.Airport Code (the ultimate idea being to find the Airport Name), and Access will let me do that but therein the problem lies.
Essentially I want a report that would say (eg) Jet Blue fly from John F Kennedy New York to Los Angeles.
All I can manage is to get "Jet Blue from John F Kennedy New York to LAX". I can convert the From airport code to its name, but not simultaneously convert the To airport code to its name. It's gotta be something to do with the query, but I don't know what and have spent two days on this now Anyone a) understand all of that b) know what's going on?
Ta in advance,
Alex.
View 7 Replies
View Related
May 30, 2005
I have a form called frmFinanceProposal
on the form is a sub form called "frmFinanceProposalDialogue1"
The main form refers to my subform as "Child845"
On the subform I have a combo box that I am trying to set a filter on in the design grid of the row source
I have tried nunerous options to refer back to another combo box on the same sub form, but am getting no joy in forcing the filter
I have tried
Me!Combo57
Me.Combo57
Forms!frmFinanceProposal!Child845!Combo57
etc etc
Pls help!!!!!
View 2 Replies
View Related
Dec 14, 2005
Hi,
I have looked through every book I have and spent hours on this but just cant get it right.
On the "menu" tab, select a customer then go to the "Calls" tab. Within the top subform is the list of telephone calls. In the below subform is the detail of the calls taken.
The problem: When I select a call, the details does not update in the form below.
Anyone willing to take a quick look? many thanks in advance.
Attached db1 (A97)
View 4 Replies
View Related
Jul 28, 2006
Hi Guys,
I'm trying to create a simple form that allows me to enter information about a new customer into my database. I've normalized Addresses into another table. I've attached a stripped down example of my problem to this thread.
Everything works fine when I'm viewing exisitng records, but when I go to add a record, I enter the name and phone number of the company (native to the main form), and go to add the address informaion (native to a subform in the address form), I get a message saying I need a similar record in the Addresses table and I cannot proceed...
But I'm trying to add that record to the addresses table!!
Please guys, whats goen on??!?
View 1 Replies
View Related
Nov 13, 2006
I am trying to pull my information together for printing and also sending attachments. I have a field whose type is set to memo.
I have created 2 select queries, one pulls all of the information together except for the memo field, the other pulls the OrderID and the memo field. I then created a 3rd select query which merges those two back together (This is the only way I have been able to get this to work in the past).
Now, whenever I run the query, the notes field is trashed... All that is displayed is a few strange Chinese characters and that's it.
Someone please help with this, as it is a very big problem. Thanks!
View 2 Replies
View Related
Nov 30, 2006
been trying for hours to fix a problem. my db was working but now when i open one of my forms it opens with a enter paremeter value box saying
Forms!frmServiceDateSearch.txtSearch
and then the second one saying
Forms!frmServiceDateSearch.txtSearch3
its probably something really obvious that i just cant spot.
any ideas?...they shouldnt and were not appearing.
thanks
View 1 Replies
View Related
Dec 2, 2006
Hi guys,
not sure which section to post this so i hope here is ok...
ive made an input mask for a postcode field. problem is its really annoying having to click the beginning of the field to enter data in the correct area of the input mask. Is there a way to automatically set the cursor to the beginning of the input mask/field when it is clicked?
thanks, James
View 3 Replies
View Related
Dec 29, 2006
Ok I am right now making a simple Vendor/Product database to create a line sheet for some sales folks. I have 3 tables: Vendors, Products, and an associate entity Vendors_Products to relate the two. I have a form currently that draws the Vendor Name (primary key) from the Vendor table and the Product Name from the associate entity. This allows me to create new vendors and select current product types from a drop down box. The problem is that the drop down box is too long and it is tiresome when 1 vendor has 10 product types.
Can anyone tell me how to resolve this? I thought it would be better to have option buttons and display all available products. Then you could just click all of the option buttons that apply to that Vendor and it would create the relationships...is this possible?
View 1 Replies
View Related
Jun 24, 2005
Great forum!! Hope I someone on here can help me!
Here's the situation. I have a Database in Excel (~3000 rows & 7 Columns)
The first Column has numbers like this (3-10-34 or 223-7-45) the other columns have names, addresses and other stuff.
What I'm trying to do is to eliminate the use of huge binders. I want to have a Blank screen with only one input box where I can type a number and retrieve a specific row from my Database. Time saving.
Now, when I'm searching, I usually only have the first numbers before the dash (such as the 3 or the 223) not the other numbers. So I cannot input 3-10-34 for instance. I can only put 3...:confused:
I've already imported it to Access and it works fine but have no idea how to do what I just described!
Thanks for the input!!
A very very green access user! :o
View 11 Replies
View Related
Oct 19, 2005
Hello
sorry if this question is answered somewhere else i did check through the forum a bit first
anyway to the question
is there a way in access 2003 so when i change a value in one table it creates a new record in another table
example
i have a table called tickets and one called fixes, when i change a value in a record in the tickets table i want a new record in the fixes table to be created for me
any help would be great
ADAM
View 5 Replies
View Related
Nov 3, 2005
Hi there,
I am not sure if i am supposed to post in this section......
--------------------------------
Using Access 2003.
I am very new to Access and have started off very well building my first project..
My help is that i would like a macro button to delete a record once you have put in to the database if that is possible also i would like a save button if that is possible...
I have put a Tab Contol on and want to change the backgound but i can't see on the properties box to change this. Is there a piece of code that allow me to do so...
Hope some one can help
Emailjunky
View 1 Replies
View Related
Nov 3, 2005
Hi There All,
I am still very new to Access 2003 and have started off very well..
Just a few help please:
Help 1. I need a macro button that will allow me to delete a record from the database via a form.
Help 2. I need a macro button to save the database if that is possible via a form.
Help 3. I have a Tab Control on my form and i want to change the background of the Tab Control but can't find it on the properties is there a piece of code i can put in to VB which will do this for me or is there another way.
Hope someone can help
Emailjunky
View 2 Replies
View Related
Aug 17, 2006
hello guys i m very new to access and i need some help!
if i had a form that contains a field like salary and i need to add all the salaries from all the records into one total salary how can i do it?
plz take into consideration that i m totally new and dumb:p in access
thank you
View 2 Replies
View Related
Feb 8, 2007
Alright here is what I am trying to accomplish. I have A, and B. Then I have 6 different tables that relate to the six different things B could be and contain all sorts of other information.
What I want is to make a form that lets you type in A, and B. Then the correct table/form for the respective B will pop in to the subform area. Then as soon as you select or type in a new A and B, the subform will change, or stay the same if the B has not changed, but a new record will have started.
"A" is just an ID... something like AA001, AA002, etc.
"B" is the stage each ID is at... like beginning, middle, end, etc.
Sorry if it is a bit confusing, I am willing to explain any details that could help. I consider myself a somewhat advanced Access user, but this just stumps me for some reason.
View 3 Replies
View Related
Aug 1, 2007
Hello all,
Im looking to create a frontend and backend for a Dojo (Martial arts center).
Basically, it will log in people(record their training time, by day not hour) either by Number or name.
Secondly, I want to be able to have all these fields seen by the admin:
Dojo Number
Date Joined
Last Name
First Name
Male/Female
Address
City
Zip
Home Phone
Work Phone
E-mail
Birthday
Occupation
Adult/teen/child
Rank
Active/ Inactive status
Martial Art Exp.
Staff Y/N
ASNJ Dues Info
USAF Dues Info
USAF Membership Number
Misc. Notes
So the backend/ admin would be able to update this field and keep records up to date.
There would be around 800 entries/people, and only one admin accessing the db at any time. The frontend would be used to log in..
View 2 Replies
View Related
Nov 21, 2007
Hi,
Can some kind soul help with pointing me in the right direction to a problem below?
In my database (property database), I have some old properties which are now sold. There are relationships between property, rent received, billing, lessees, etc. I want to be able to keep the details of the 'sold' properties.(i.e., who owned it, what they paid in the past, when they paid etc. in case I need it, but don't want it shown any longer on the main working database). I want to be able to delete the properties that are sold from the main table. Any ideas how I go about this? Hope I've explained myself ok.
Thanks
HMC
View 10 Replies
View Related
Nov 27, 2007
I have recently created a database which exports a daily report in Excel. The problem I am having is that the reports are sent out in Excel 95 which cannot be opened by Blackberry. We used to create this report from an excel database and send it out but it went out in excel 97 format which was readable. As a complete "Access" novice I am at a loss on how to cure this problem short of copying the excel 95 report which we create automatically and cutting and pasting into excel 97.
Over to the experts.
View 8 Replies
View Related
Feb 13, 2008
Hi All,
great forum here, loads of help and really busy :D
im very new to acces and have never used it before, however i have been using excel and VB for a while.
Ive been given a large table with about 5 fields in it and 40k + lines of data (!)
I need to write some kind of program/query, where i can input some txt and it will then lookup all the data that relates to that input txt.
Eg.
Car Tom Red
Car Tom Blue
Bus Dave Red
Bike Tom Pink
If i did a seach on "Tom" it would then give me the 1st, 2nd and 4th lines (all the info in that whole line)
If i did a search on "Red" it would give me the 1st and 3rd lines?
Im sure this is very simple, so any help would be great :)
Also, really sorry if this is in the wrong location, please move if so!
View 5 Replies
View Related
Apr 23, 2005
Very much a novice here
What im trying to accomplish is so simple its silly, but i cant figure it out for the life of me
I have a field id like to restrict entries to the words Buyer and Seller, and i'd like it so that in the form, if the user hits the letter B, Buyer fills in and if S seller fills in ...
What can i do in the table to accomplish this?
Thanks so much
View 1 Replies
View Related
Oct 6, 2005
Hi, I have used access in the past but very little. I need help setting up a table that I can make relationships to another table. Here's what I need.
I need a table(s) that I can log samples of medications into. It needs to have a drug name, dose, lot #, expiration date, and #of samples. As we get samples, these will be logged into here via a form made from the table (I've already done this exactly as stated). I will need to be able to get a total from the number of a certain dose of medication i.e. amoxicillin 500mg (all of the lot numbers added together).
Now, another table(s) needs to have samples signed out. It needs to include pt. name (first and last), date, drug, dose, lot #, exp. date, #of samples, ordering practitioner, and clinic. What I want to happen is when I sign out the Amox 500mg #30 with a specific lot #, it will remove the number from that specific lot # in the inventory table and reduce the number of Amox 500 total (all lot #s).
Does this sound too complicated. I tried to set up one table for the sign out process, but suspect it's too many variables. The primary key I was thinking would be the lot # but i need to be able to use it more than once if I get 100 samples and only use 30 at a time.
Would someone be willing to offer some advice!!!?? Thanks, Robin.
View 1 Replies
View Related
Jun 3, 2006
I made a simple Table with a couple of fields.Each record shows what a job needs to be done ...Now I'd like to add
simple checkbox and each time I would check this box (that would mean that job has been done) Access would automatically delete or hide that record.
Thank you
Also could you point me to good tutorials?Thanks a lot
View 1 Replies
View Related
Dec 6, 2005
Hello everyone:
I've created a simple access database for my deparment, that I want other departments to be able to query data from. I don't want them to have to open the entire database each time they pull data, because I'm afraid they'd become confused by the program.
The company seems much more comfortable with excel files, and I've been trying to use an Excel-based query to display selected information. The problem is this: Nobody can update their excel queries, because only my department has full access to the .mdb file that the data is stored in. Everyone else has read-only access to the file and the folder it's located in, so they are unable to run an update.
Is there a good workaround for this? I feel like I'm overlooking something incredibly simple.
Ideally, I'd like to create an .xls file with the necessary queries in it, and then just email that file around, allowing other users to just save the file to their desktop and open it/update it when they need to check on something. Other methods of accomplishing the same thing are welcome too, but that's what I'm going for right now.
Thanks!
View 2 Replies
View Related
Mar 6, 2006
I need help. Now I've written a post so that some one could help retrieve current information and they told me to use Dmax. Great but I don't know how to use Dmax. Basically I need step by step instructions.
This is an example of what my table looks like:
Date of Order --Product--- UNIT COST
20-May-05----- XYZM---- $8.87
20-Jun-05------ XYZM ----$9.39
21-Jul-05 ------XYZM -----$9.24
19-Mar-05----- ACE ------$7.85
20-May-05 ----ACE------- $7.89
20-Jun-05 ----ACE-------- $8.01
21-Jul-05 -----ACE------- $8.13
22-Jul-05------ACE ------$8.05
What I need is a report that will show me the last ordered price of the product.
Date of Order --Product-- UNIT COST
21-Jul-05------ XYZM ---$9.24
22-Jul-05 ------ACE ----$8.05
How do I get a query that will allow me to retrieve this information? I'm still in training and need step by step intructions. Please Help!!!!
View 5 Replies
View Related
Mar 10, 2006
Hi,
I am new to microsoft access. I am trying to develop a data base that will store data as well as return means and SEMs. I have multiple parameters entered into an access table. The fields are Group Number, MAP, AP, and KV. I have a query to return the averages for each group, but i am having trouble making a query to return the SEM. the formula for SEM is
SEM = Standard Deviation / (Count ^ (1/2))
This should be easy because access will return Stdev and Count, but when I try and enter the formula into expression builder, all hell breaks loose. Any advice would be greatly appreciated.
Cheers,
DH:confused:
View 1 Replies
View Related