Bring in the amount as an extra column and refer to that column.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
You should not be trying to do this in the Table.
You would create a Data Input Form which would be based on the Table.
Then in the Design of the Form you would use the Wizard to create a Combobox to Lookup the values from FixingsListT
You would select both the FixingName and Price each
Then you would refer to the ComboboxName to obtain the 2nd Column Value
=[ComboboxName].Column(2)
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
2nd column would be (1) Mike?You should not be trying to do this in the Table.
You would create a Data Input Form which would be based on the Table.
Then in the Design of the Form you would use the Wizard to create a Combobox to Lookup the values from FixingsListT
You would select both the FixingName and Price each
Then you would refer to the ComboboxName to obtain the 2nd Column Value
=[ComboboxName].Column(2)
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Hi Welshgasman
Strange I always thought that the Combobox would display in the following Order:-
PK Column 0
Fixingname Column 1
Price Each Column 2
Column Count 3
Column Widths 0cm;2.54cm;2.54cm;
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Yes, that is correct and your second column has an index of 1. Your third column has the index of 2 ? Even your Column Count tells you 3, and the Price is the last column.
You are confusing column count with index as the index starts at 0?
So the way you have your columns arranged your syntax was correct, but you referred to the second column?, not the column indexed by the value 2, which is the third column. ?
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
My apologies
It should have read as follows:-
Then you would refer to the ComboboxName to obtain the 3rd Column Value
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Brilliant thanks worked great.