Results 1 to 4 of 4
  1. #1
    zbaker is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    18

    Alert Forumla

    How do i create an alert to pop up. For example if field contains "unknown" create msgbox that pops up when the database is opened, or something of the like?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    if using a query, not a popup but, in the query ,make your own field : Msg:Iif([myfield]=99,"WARNING","")

    if using a form ON CURRENT event:
    if txtAmt = 99 then msgbox "Warning"

  3. #3
    zbaker is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    18
    I was creating a form for this to show the ones that fit into the parameters but the form will only pop up the warning and not provide the data

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Post form RecordSource statement. Post relevant code.
    Or provide the db for analysis. Follow instructions at bottom of my post. Identify object of interest.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Suppressing alert messages
    By reburton in forum Programming
    Replies: 4
    Last Post: 10-30-2013, 07:10 PM
  2. Alert on duplicate field
    By Chillax'n in forum Access
    Replies: 3
    Last Post: 12-09-2011, 08:35 AM
  3. Writing a forumla for a report
    By sai_rlaf in forum Reports
    Replies: 2
    Last Post: 08-05-2011, 12:26 PM
  4. Create an alert
    By ellixer in forum Programming
    Replies: 2
    Last Post: 06-13-2011, 08:30 AM
  5. Replies: 0
    Last Post: 01-22-2009, 03:38 PM

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