G
Guest
Hi,
I have an option group on a form that has 5 choices that can be true or false.
I've created a matrix table (tblMatrix) that gives all the possible options
for those buttons and each combination is given a number "LimitNo" that I
want to store in a table associated with other demograhics for a driver
(tblDriverInfo).
When the form comes back up with the individual's record, I want the
"LimitNo" value to correctly populate the option buttons on the form.
I'm trying to get the "LimitNo" into the tblDriverInfo by coding an event on
the form in the After Update area & I'm having trouble.
I'm thinking:
SELECT LimitNo From tblMatrix WHERE Me.optLens=tblMatrix.Lens_
AND Me.optHear=tblMatrix.Hear AND etc.
I get an error that says "Expect Case"
Also, I'm not sure what to say to place the data in the tblDriverInfo.Limit
cell.
Thank you,
Karl
I have an option group on a form that has 5 choices that can be true or false.
I've created a matrix table (tblMatrix) that gives all the possible options
for those buttons and each combination is given a number "LimitNo" that I
want to store in a table associated with other demograhics for a driver
(tblDriverInfo).
When the form comes back up with the individual's record, I want the
"LimitNo" value to correctly populate the option buttons on the form.
I'm trying to get the "LimitNo" into the tblDriverInfo by coding an event on
the form in the After Update area & I'm having trouble.
I'm thinking:
SELECT LimitNo From tblMatrix WHERE Me.optLens=tblMatrix.Lens_
AND Me.optHear=tblMatrix.Hear AND etc.
I get an error that says "Expect Case"
Also, I'm not sure what to say to place the data in the tblDriverInfo.Limit
cell.
Thank you,
Karl