A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Table/Query Lookup



 
 
Thread Tools Display Modes
  #11  
Old January 13th, 2006, 07:36 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Table/Query Lookup

I do not know how to find all that you ask for but here is what I have:

record source of main form - projects (the table of all proposals)
record source of sub form - customerquotedto (this is the combo table)
primary key of projects - "quote no assigned" auto generated no.
primary key of customers - "cust ID no" auto generated no.
both above primary keys are also the primary keys in "customerquotedto"

The last two items you are looking for I do not know how to get. If you can
explain how I will get them to you

Thanks

"John Vinson" wrote:

On Tue, 10 Jan 2006 14:11:02 -0800, F. M. Tom
wrote:

To do data entry, you'ld use a Form for Quotes with a Subform based on
CustomerQuotes. There'd be a CustomerID combo box on the subform to
select the customer; for a multi-customer quote you'ld just add
multiple rows.


John - The above paragraph is what I have been trying to do. I agree with
all that you have said. I have set up the "customer quotes" table but am
having trouble setting up the subform or even a form that will let me add
more than one customer to the quoted to form. This is what I am looking for
help on. - Thanks


Please post the following information:

The Recordsource properties of your mainform and subform (show the SQL
view of the query if it's a query)
The Primary Key of each table
The RowSource of the combo box (post the SQL)
The Control Source and Bound Column of the combo box

John W. Vinson[MVP]

  #12  
Old February 9th, 2006, 06:05 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Table/Query Lookup

On Fri, 13 Jan 2006 11:36:07 -0800, F. M. Tom
wrote:

primary key of customers - "cust ID no" auto generated no.
both above primary keys are also the primary keys in "customerquotedto"


That's your problem.

If the CustIDNo is the Primary Key of customerquotedto, then you can
have one and only one record for that CustIDNo.

John W. Vinson[MVP]
 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup tables Wind54Surfer General Discussion 15 August 11th, 2005 12:54 AM
Lookup Vector > Lookup Value Alec Kolundzic Worksheet Functions 6 June 10th, 2005 02:14 PM
lookup vs combo box Scubaman General Discussion 4 June 7th, 2005 02:02 AM
Lookup fields on label report Howard Setting Up & Running Reports 1 June 3rd, 2004 02:43 AM
Lookup fields - what's wrong with them? NATHAN SANDERS New Users 2 May 4th, 2004 10:51 AM


All times are GMT +1. The time now is 04:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.