Results 1 to 2 of 2

Thread: option buttons

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2001
    Location
    Ca
    Posts
    124

    option buttons

    Hi All

    Does anyone know how to have an 2 option button on a form and if you click on one have that saved to an access data base so the next time the form is loaded it shows that button clicked?

    Thanks reston

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: option buttons

    AddNew
    If Option(0)=True then
    Field1=True
    Field2=False
    elseIf Option(1)=True then
    Field1=False
    Field2=True
    end if
    update

    Private Sub Form_Load()
    rsrecordset.open ......
    if rsrecordset!Field1=True then
    Option(0)=true
    else
    Option(1)=true
    end if
    End Sub
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width