P
punter
This has to be easy, but I think I am making hard work of this...
I have Access 2007
I have a table that has 1 field and 1 record (therefore the table
includes only one value - which is a numeral)
I have a form that has:
* 1 x label
* 2 x option buttons.
By selecting one of the option buttons, the result should be:
* Option One will add the letter "B" to the front of the number
located in the table. This concatenated value will be displayed in the
label. (eg: B1000)
* Option Two will add the letter "U" to the front of the number
located in the table. This concatenated value will be displayed in the
label. (eg: U1000)
My question is: How do I successfully extract the value from the table
to be used in my IF statement dependant on the option button I choose?
I know how to open databases and recordsets using VBA & SQL. I know
how to delete and add records using VBA & SQL ... but how do I turn a
record value into a variable in which I can use for whatever I like?
Many Thanks in advance ...
Punter.
I have Access 2007
I have a table that has 1 field and 1 record (therefore the table
includes only one value - which is a numeral)
I have a form that has:
* 1 x label
* 2 x option buttons.
By selecting one of the option buttons, the result should be:
* Option One will add the letter "B" to the front of the number
located in the table. This concatenated value will be displayed in the
label. (eg: B1000)
* Option Two will add the letter "U" to the front of the number
located in the table. This concatenated value will be displayed in the
label. (eg: U1000)
My question is: How do I successfully extract the value from the table
to be used in my IF statement dependant on the option button I choose?
I know how to open databases and recordsets using VBA & SQL. I know
how to delete and add records using VBA & SQL ... but how do I turn a
record value into a variable in which I can use for whatever I like?
Many Thanks in advance ...
Punter.