🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ab.software.developers
Article #487

How to get rid of the message "The OpenReport action was cancelled..."?

#487
From: Galina
Date: Sat, 01 Apr 2000 00:00
13 lines
745 bytes
Hello
When a report has no data, in NoData event procedure it can show a
message and cancel the report printing:
MsgBox "There is no data", vbOKOnly, title.
Cancel=1

Then MS Access shows a message: "The OpenReport action was
cancelled...". How can I get rid of this message? 
DoCmd.SetWarnings False doesn't work.

Thank you.

Galina
Technical Details
Message-ID: <38e6689f.193647@news.tesco.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f2ee,18601f74d023adc6,start
X-Google-Attributes: gid10f2ee,public
From: Charles.Self@tesco.net (Galina)
Subject: How to get rid of the message "The OpenReport action was cancelled..."?
Date: 2000/04/01
Message-ID: <38e6689f.193647@news.tesco.net>
X-Deja-AN: 605451713
Organization: Tesco ISP
Newsgroups: ab.software.developers