G
Guest
Hi guys, me again
I have 10 fields in a table, Field1 to Field10. Field1 has all the retail
prices of cars built in 1996, Field2 those of 1997, Field3 those of 1998 and
so on. On this form is also field called CarMake. Each carmake has its own
unique number which is in the first field on this form, called MMRefNumber
On a second form, I have a dropdown with a list of years, starting at 1970,
1971 and so on, up till 2005. On that same form, I have a textbox,
txtCurrentValue. And a textbox called txtMake and a textbox txtMMRefNo.
I want to enter a MMRefNo into this textbox and want Access to lookup that
Make and put that into txtMake.
Then, and this is where I need help, I want to click on a year in the
combobox and then want access to lookup the current value of that car in the
specific field on the first form and show that value in txtCurrentValue.
If I pick a year other than 1996 to 2005, I want txtCurrent Value to display
a Null value.
Is it possible that someone can help me sort out this one.
Regards
Peet
I have 10 fields in a table, Field1 to Field10. Field1 has all the retail
prices of cars built in 1996, Field2 those of 1997, Field3 those of 1998 and
so on. On this form is also field called CarMake. Each carmake has its own
unique number which is in the first field on this form, called MMRefNumber
On a second form, I have a dropdown with a list of years, starting at 1970,
1971 and so on, up till 2005. On that same form, I have a textbox,
txtCurrentValue. And a textbox called txtMake and a textbox txtMMRefNo.
I want to enter a MMRefNo into this textbox and want Access to lookup that
Make and put that into txtMake.
Then, and this is where I need help, I want to click on a year in the
combobox and then want access to lookup the current value of that car in the
specific field on the first form and show that value in txtCurrentValue.
If I pick a year other than 1996 to 2005, I want txtCurrent Value to display
a Null value.
Is it possible that someone can help me sort out this one.
Regards
Peet