L
Ling
I try to explain as simply as I could.
All my tables have ID and Yr set as their primary keys. I
have set the numbering to start from 1 each yr and would
then add by 1 each new record is added to the table.
E.g: I have a quotation form n 1 of the combo box shows a
list of enquiry nos(from the tblCosting).The combo box
shows all the enquiry nos stored in the tblCosting.
Now, I discovered a problem. What if a person creates a
quotation no of say 20,and maybe choose an enquiry no of 1
but of yr 2004? I only stored the selected enquiry no
inside my quotation table.
Thus, when I run a query,the Quotation no 20 would show
two returned records.1 of Yr 2003 and 1 of Yr 2004.
I was thinking of adding the chosen enquiry no as well as
its corresponding yr in the quotation table.
Currently, the combo box in the quotation form shows the
enquiry no,its yr etc.N I only bound the enquiry no to the
quotation table.
Is there a way to bound 2 columns in a combo box.Sounds
impossible.
Any ideas?
I am really stuck in this situation. Thanx for any help.
Ling
All my tables have ID and Yr set as their primary keys. I
have set the numbering to start from 1 each yr and would
then add by 1 each new record is added to the table.
E.g: I have a quotation form n 1 of the combo box shows a
list of enquiry nos(from the tblCosting).The combo box
shows all the enquiry nos stored in the tblCosting.
Now, I discovered a problem. What if a person creates a
quotation no of say 20,and maybe choose an enquiry no of 1
but of yr 2004? I only stored the selected enquiry no
inside my quotation table.
Thus, when I run a query,the Quotation no 20 would show
two returned records.1 of Yr 2003 and 1 of Yr 2004.
I was thinking of adding the chosen enquiry no as well as
its corresponding yr in the quotation table.
Currently, the combo box in the quotation form shows the
enquiry no,its yr etc.N I only bound the enquiry no to the
quotation table.
Is there a way to bound 2 columns in a combo box.Sounds
impossible.
Any ideas?
I am really stuck in this situation. Thanx for any help.
Ling