Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    47

    Unanswered: Checkbox Problem

    Ok guys here is my problem:

    I have a form that does not allow edits because I do not want anyone to change something by mistake. That is why I made a button called Edit Record which opens a pop-up form of the same table on the same exact record they want to edit. The problem is that i have on there a checkbox that when clicked triggers an event which makes a few textboxes visible (by default I made them invisible). The problem is that if a person wants to edit a record which has this checkbox already checked the pop-up form shows up and the checkbox there is checked but the fields are still invisible. I know where my problem lies - I added the code in the Checkbox_Click() event BUT I do not know where else to add that code to verify whether the box is ticked or not. I tried in the Form_Load() sub but if I do it, it happens so that the textboxes are ALWAYS visible.

    Any ideas how to do it?

  2. #2
    Join Date
    May 2004
    Posts
    11

    Checkbox Problem

    Putting the code in the 'on current' event of your pop-up form should do the trick.

    Anthony J. Kroes

  3. #3
    Join Date
    Sep 2004
    Posts
    47

    Thanx

    Thank you! It worked!

Posting Permissions

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