(1) By different ways, do you then you were doing or what? The reason I ask is because Access is a Relational Database. The Relational Database model has existed, largely unchanged for over 40 years. There are rules about designing
a relational database and you ignore those rules at your peril. Access is not a program where you can just jump in and start using it like Word or Excel. You need to have. at least, an understanding of relational design.
(2) You didn't answer my question about whether an order can include multiple items. It would be a rare instance if it doesn't. So that means you need an Order Details and a Products table. As for entering orders. CustomerID and
SalesmanID should be foreign keys in the Order record. They should be selected using list controls on an Order form.
Hi,
(1) By 'different ways' I meant methods of doing things faster. By temporarily 'filtering our' irrelevant records from the Lookup field, I can make data entry faster and easier. Later on, I will remove these
temporary filters to see and work with all the records. (Para 3 will explain it further.)
(2) In this specific case, each Order will have only one item (or a fixed number; if there are multiple items in an Order, there will be multiple Orders for that -- e.g. if a Salesman receives order for five items from one Customer, this will be managed
by entering 5 Orders for same Customer/same Salesman, one each for each order item. (Next para will explain it further.)
(3) I have since uploaded a link to the "example database" that I created for this post. I call this "example database" because this is not the actual database I am actually working with. In this "example database" I used generic field names, tables names,
etc to demonstrate the issue I was facing. I wanted to know if what was seeing (Some Names, some Record_ID in datasheet in unfiltered view) is normal/expected or otherwise. The "actual database" that I am working with involve processing/analyzing questionnaires/responses (of a market survey) related to different products/gadgets
where each of the surveyor (read Salesman) would approach any individual/respondent and fill out a standard questionnaire/response sheet (read Order) to record their responses regarding one/more (but never too many) of the 50-70 products/gadgets (read Customer)
that are subject matter of the market survey. (In future phases, the surveyor (=Salesman) may remain same but the products/gadgets (=Customer) may change (hence I need to filter Customers of the present phase).)
(4) I get these response sheets for data entry in batches: i.e. one surveyor (=Salesman) may contact, say, 10 individuals/respondents in a week and record their views regarding products/gadgets in a standard format/questionnaire; a separate questionnaire
would be recorded for each of the product/gadget that the individual/respondent is familiar with and agrees to give his/her opinion. One individual/respondent is normally supposed to answer about only 5-7 (of the total 50-70) products/gadgets that are to be
covered in the present phase of market survey.
(5) From above, it may be understood that my work becomes easier if I am able to 'filter in' only selected Salesman/Customers of the present phase. As the end of a phase, data of the phase would be analysed (Min, Max, Average, etc) in Access itself or exported
to Excel. For the future phases, the same database is to be used by modifying filters for Salesman/Customers.
I hope this explains the situation. Sorry for the long post. And thanks for your help. I think, relationship between the tables and the ability to look up data in other tables is the beauty of Access.
-- Naresh Kumar Saini