Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    49

    Unanswered: Help With CheckBox

    Hi,
    My Project is in MS Access.
    In that I am using one form for Shipping Entry.
    In That I put One Check Box.
    Now If Shipping Address and Billing Address Are same than I click on that CheckBox.So It will automaticaly enter whatever address entered in Billing Address into Shipping Address.Now uptill this point everything working fine.

    Now I want this thing.
    When I click again on that CheckBox Than it will automaticaly Delete Shipping Address.So If I want to enter Different Shipping Address I can.And If I clicked again after that than it will again automaticaly enter the Billing Address in Shipping Address.But I don't know how to do it?

    In VB we can use (I don't know proper code for VB) something like this
    if(CheckBox1.checked=true) then
    xyz
    else
    xyz

    Like I want to know how can I check that CheckBox Is Clicked before or not.
    Thanks.

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Code:
    If Me.CheckBox.Value = -1 Then
      MsgBox "Checked"
    Else
      MsgBox "not checked"
    End If
    George
    Home | Blog

  3. #3
    Join Date
    Dec 2007
    Posts
    49
    I got the solution and its the same as u suggest.
    By the way Thanks for ur reply.

Posting Permissions

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