i have an frame with 3 option buttons. sometimes a record may not yet have a value for the field attached to the frame, in which case i want to assign the value 3 (the default value of a new record may be different, but of an existing record, if nothing is yet entered, 3 would be the correct choice.)
so i put in this line of code. the second half of it does return the correct value (3) (when the field value is null), but it does not assign the value to the frame; button 3 is not choosen, and the buttons remain greyed out (as if the value was null)
Code:
.frmSinkSource.Value = Nz(DLookup("[SinkSource]", "tbeFixtureTypeDetails"), 3)
hmmmm?
with thanks in advance,
mark