Neal,
Something like this is one method.
********************************
sFileName = FileOpenDlg("",sFileNameA,"TAB","Open " & sFileNameA & "
base Table")
If sFileName <> "" Then
Open Table sFileName As sFileNameA
Else
If iAttempt < 4 then
Note "This file is needed, try again..."
Else
Note "All necessary files are not open, ending program."
End If
End If
*********************************
sFileNameA is the filename to be opened.
Cheers Ian
Ian Tidy
GIS Administrator
Works Asset IT
Napier City Council
mailto:[EMAIL PROTECTED]
http://www.napier.govt.nz
-----Original Message-----
From: Niemiec, Neal [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 July 2003 10:57 a.m.
To: '[EMAIL PROTECTED]'
Subject: MI-L DLG error handling
Quick question, so how do you setup error handling with the standard
FILEOPENDLG or SAVEFILEASDLG dialogs?
Basically, when someone clicks on Cancel from either of these dialogs it
starts a number of errors and ends the program.
any help appreciated
Neal
Neal T. Niemiec
GIS Application Developer - DMI Data Warehouse
303-706-4497
9601 S. Meridian Blvd.
Englewood, CO 80112
######################################################################
This e-mail message has been scanned and cleared by MailMarshal
######################################################################
######################################################################
Attention:
This e-mail message and accompanying data may contain information
that is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated
to the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.
######################################################################
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7671