how to make radio button in option group selected by default in access form

StackOverflow https://stackoverflow.com/questions/23525481

  •  17-07-2023
  •  | 
  •  

سؤال

I have an option group in access form. Option group contains 2 radio buttons.How do i make one of the radio button select by default. i tried to set option group Default value =

        [ogrp].[DefaultValue]=2

It is not working.

هل كانت مفيدة؟

المحلول

Make one of the radio button select by default by

   Me.OptionGroupname.DefaultValue=1 'DefaultValue= change as required 
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top