On Wed, 9 Jun 1999, Thomas Baschetti wrote:
> > Ok, this one is odd. I have a MapBasic routine that saves a workspace
> > to a temporary directory using the following:
> > save workspace as "C:\temp\wkspace.wor"
> > It works fine on every workspace I've tried except one.
> I have encountered the same problem last week, the problem
> here was a selection which could be saved from Mapinfo but
> not with MapBasic (a 'select * from xxx where ... into sel1'.
> MI 4.52 German Version, NT 4.0 SP3
I've had the same problem too and had to write pages of mapbasic code to
save my workspaces correctly. It seems that the "save query in
workspace" setting of Mapinfo don't apply if the workspace is saved
from inside a Mapbasic program.
The only workaround I can think of is to add codes in your mapbasic program
that will:
1) save the workspace
2) write in this workspace the missing lines that will do your query when
reopening the workspace.
A look inside a workspace saved from mapinfo (with the queries of course)
would help you to know what is missing.
Good luck.
Martin Gagnon
Institut d'urbanisme
Universite de Montreal
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]