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?
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?
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"
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
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.