Hello

I want to save a layout I generate through Mapbasic. I've used the following
lines within the program but when I run it I get a message from Mapinfo
initially saying 'Unable to save workspace' and then 'Unknown error
encountered"

My lines are:

Filename = "C:\" + S_vendor + ".Wor"
Save Workspace As Filename



S_Vendor refers to another variable within the rest of the code. I know that
this is going into the Filename variable OK as I've used the Print command
to print the filename. I will change the path from C:\ to something else
eventually, but for now I just want to get it to save to C.

Can anyone offer some help on saving workspaces through Mapbasic?

Thanks in advance

Simon

> **************************************************************************
> *********
> This email and any attached files are confidential and copyright
> protected.
> If you are not the addressee, any dissemination of this communication is
> strictly prohibited.  Unless otherwise expressly agreed in writing,
> nothing stated in this communication shall be legally binding.
> 



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to