Why not check to see if the file exists first this will make the code much
easier to read & more robust.

Sub AnySub

If FileExists(anyfile) then
      Register Table anyfile TYPE ASCII Delimiter 59 Titles Charset
     "WindowsLatin1" Into anytable
else
     Note "Error opening " & anyfile
     Exit Sub

End If

.

.

End Sub



William.











*******************Internet Email Confidentiality Footer*******************


Privileged/Confidential Information may be contained in this message.  If you
are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender by
reply email. Please advise immediately if you or your employer do not consent to
Internet email for messages of this kind.  Opinions, conclusions and other
information in this message that do not relate to the official business of my
firm shall be understood as neither given nor endorsed by it.


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to