Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2003
    Location
    Toledo, Ohio, USA
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Record count via Query

    Post deleted by jp2558

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    The Netherlands
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Record count via Query

    Tia,

    Write some code for your command button.
    Use the dCount function to check for records:

    If dCount("EventID", "Events", "EventName='" & Forms.[Events]![EventName]" & "'") > 0 then
    'Do whatever you want to do
    end if

Posting Permissions

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