I have a form: frmVehicleEntry Form
The form has a combo-box control: AuthEntityChoos erBox
The combo-box has a RowSource: property of:
SELECT DISTINCTROW IIf(IsNull([Company]),[Name],[Company]) AS
EntityName, qryAuthorizingE ntities.Address ,
IIf(IsNull([Company]),"Person","Com pany") AS EntityType,
qryAuthorizingE ntities.AuthID FROM qryAuthorizingE ntities;
The combo-box's BOUND field is the 4th and last field: AuthID
qryAuthorizingE ntities lists values between 1 and 350 in the AuthID
field. There are NO RECORDS in the source table (tblAuth) with values
over 350 - none.
The combo-box's LimitToList property is set to Yes.
How is it, then, that the following line runs WITHOUT ERROR
and actually succeeds in placing 500 in that control?
Me!AuthEntityCh ooserBox = 500
I can type Print Me!AuthEntityCh ooserBoxin the debug window and it
will return 500. The value is DEFINITELY there. How can that be?
The form has a combo-box control: AuthEntityChoos erBox
The combo-box has a RowSource: property of:
SELECT DISTINCTROW IIf(IsNull([Company]),[Name],[Company]) AS
EntityName, qryAuthorizingE ntities.Address ,
IIf(IsNull([Company]),"Person","Com pany") AS EntityType,
qryAuthorizingE ntities.AuthID FROM qryAuthorizingE ntities;
The combo-box's BOUND field is the 4th and last field: AuthID
qryAuthorizingE ntities lists values between 1 and 350 in the AuthID
field. There are NO RECORDS in the source table (tblAuth) with values
over 350 - none.
The combo-box's LimitToList property is set to Yes.
How is it, then, that the following line runs WITHOUT ERROR
and actually succeeds in placing 500 in that control?
Me!AuthEntityCh ooserBox = 500
I can type Print Me!AuthEntityCh ooserBoxin the debug window and it
will return 500. The value is DEFINITELY there. How can that be?
Comment