Results 1 to 4 of 4
  1. #1
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Yes/No Values

    Hi Guys

    I have a form and on this form i have a field with a pre defined date, calculated by the DateAdd function, i have put a yes/no button next to the date field a i want to view/print a report that shows me which of the dates have not been ticked/checked, do i do this in query with the isnull function if so how?

    Many thanks

    Maintt

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Yes, a query would be the best. Create the query in design view and include the fields you want. For the yes/no field, set its criteria=0. (Not checked=0, checked=-1). Base a report on the query you created.

    Alternatively, you could not save the record until the yes/no box is checked. I think you would use the before insert event of the form to check to make sure the yes/no control is checked.

  3. #3
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26
    thanks jzwp11 i will give it a go and let you know i go on

    maintt

  4. #4
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome; please let us know if you are successful.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 05-25-2010, 04:50 AM
  2. Replies: 3
    Last Post: 04-04-2010, 05:26 PM
  3. Replies: 1
    Last Post: 03-27-2010, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums