Julian wrote:
I have a created a number of views based on a value in a base
SpatialWare table and have made them mappable and then created a live
link to them in MapInfo Pro. These mapped views have been created for
different groups to use and I need to make them Read Only so folks
cannot edit the base data. Does anyone know of a way make a live link
table read only? I have tried changing the ReadOnly to TRUE in the TAB
file and also restricting permissions for the user to SELECT only on the
base table but neither method works.

Julian,
Try opening the .wor INI file in notepad or whatever you use, then ensure that 
the file paths for the Tabs are ReadOnly.
Save INI file. Works for us.
Cheers,
Nola

Nola Strawbridge
GIS Support Officer
City Works & Services
Cairns City Council
Tel: 4044 3219
Fax: 4044 3838
email: [EMAIL PROTECTED] 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, 16 May 2006 6:42 PM
To: [email protected]
Subject: MapInfo-L Digest, Vol 7, Issue 50


Send MapInfo-L mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.directionsmag.com/mailman/listinfo/mapinfo-l
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MapInfo-L digest..."


Today's Topics:

   1. Re: Multiple layout windows. (Richard Greenwood)
   2. Ang. [MI-L] Multiple layout windows. (Mats Elfstr?m)
   3. RE: Passing Variables (Jakob Lanstorp)
   4. How do I make a live link view non-editable? (Julian Parker)
   5. RE: Moving an object and it gets duplicated. (Terry McDonnell)


----------------------------------------------------------------------

Message: 1
Date: Mon, 15 May 2006 20:12:39 -0600
From: "Richard Greenwood" <[EMAIL PROTECTED]>
Subject: Re: [MI-L] Multiple layout windows.
To: "Robin Smith" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 5/15/06, Robin Smith <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm sure there is a simple answer to this one.  I'm trying to create
> multiple layout windows in the same workspace.  I want to create one in
> Portrait format, one in Landscape format and have them both at the same
> scale.  However, every time I try this one frame will show the correct scale
> while the other alters.  I am using version 8.0 and have tried using
> different approaches.
>
> I have used the frame object window to alter the frame scales, using the
> change map zoom options, rather than just altering the frame size.  I'm
> confused as to why the other layout window changes after doing this, as I
> figure that the scales should remain the same, they should just show
> different extents of my datasets (they are both centred on the same feature)
>
> Any advice would be appreciated.
>
>
> Robin Smith

The scale is tied to the X axis, so when you switch between the
portrait and landscape layout, the layout's X dimension is different,
and hence the scale is different. I would suggest cloning your map
window and then putting one map window in one layout and the other in
the other layout.

Rich

-- 
Richard Greenwood
[EMAIL PROTECTED]
www.greenwoodmap.com



------------------------------

Message: 2
Date: Tue, 16 May 2006 08:36:30 +0200
From: Mats Elfstr?m <[EMAIL PROTECTED]>
Subject: Ang. [MI-L] Multiple layout windows.
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED],
        [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Robin!

You need to understand that all map frames that uses the same mapper 
window always are affected by changes to that mapper window, even if they 
are in separate layouts.
This is the way it is, and very unlike for instance Autocad where 
different layout views can show the same model space in differenr scales 
and so on.

But, since the mapper window is the object referenced in the map frame, 
you need to clone the mapper window and make one for portrait and one for 
landscape view.
In order to exercise great control of the mapper window contents, I 
suggest you make them in the same h/w ratio as their respective renderings 
in the layouts.
The scale is determined only by the zoom width, or the x axis.

Hälsning / Best regards Mats.E
________________________
FB Engineering AB
Södra Förstadsgatan 26
211 43 Malmö

Tel: 040-660 25 50
Mobil: 0705-27 60 27
Fax: 040-660 25 99
[EMAIL PROTECTED]
www.fbe.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.directionsmag.com/pipermail/mapinfo-l/attachments/20060516/10a3b865/attachment-0001.htm

------------------------------

Message: 3
Date: Tue, 16 May 2006 08:43:03 +0200
From: "Jakob Lanstorp" <[EMAIL PROTECTED]>
Subject: RE: [MI-L] Passing Variables
To: "Marko Cucnik" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hard to figure out what you mean with no code postet. You must place the
global variabel outside the sub, normally in the top of the code. You
due not need to declare it as global, if it only accessed in the current
mb file. If you use either a global or module (local global:) variabel
make two function to accss it, like a set procedure and get function.
 
Dim _sMyVar As String
 
Sub Main
..
End Sub
 
Function GetMyVar() As String
    GetMyVar = _sMyVar
End Function
 
Sub SetMyVar(sMyVar As String)
    _sMyVar = sMyVar
End Sub
 
Accessing variables through "properties" makes the desing more clear.
But passing variables around between function and subs are not a problem
in MapBasic. You should start with a design where global and modular
variables are not used. I seldom use the above method. My MapBasic is a
bit rusty and did't compile it, but the designmethod should work.

HTH,

Jakob Lanstorp 
Software Developer 
Geographical Information & IT 
  
COWI A/S 
Odensevej 95 
DK-5260 Odense S 
Denmark 
  
Tel       +45 6311 4900 
Mob     +45 4020 7529 
Fax      +45 6311 4949 
E-mail  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
http://www.cowi.dk/gis 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marko
Cucnik
Sent: Monday, May 15, 2006 8:59 PM
To: [email protected]
Subject: [MI-L] Passing Variables


Hello, 
 
I am having some issues passing a variable around in my code.  I have a
simple string and symbol variable that i would like to pass to different
subroutines which do not directly call the original SUB.  Making the
variable global does not seem to help.
 
Any ideas?
 
Marko Cucnik
BCIT - Practicum Student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.directionsmag.com/pipermail/mapinfo-l/attachments/20060516/5d90f594/attachment-0001.htm

------------------------------

Message: 4
Date: Tue, 16 May 2006 16:03:06 +0800
From: "Julian Parker" <[EMAIL PROTECTED]>
Subject: [MI-L] How do I make a live link view non-editable?
To: <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Greetings list,

 

I have a created a number of views based on a value in a base
SpatialWare table and have made them mappable and then created a live
link to them in MapInfo Pro. These mapped views have been created for
different groups to use and I need to make them Read Only so folks
cannot edit the base data. Does anyone know of a way make a live link
table read only? I have tried changing the ReadOnly to TRUE in the TAB
file and also restricting permissions for the user to SELECT only on the
base table but neither method works.

 

Any help or pointers greatly appreciated!

 

Regards

Julian Parker
Systems Analyst

Digital Mapping Solutions
Level 2, 2 Hardy Street
SOUTH PERTH WA 6151
Ph: 08 9474 6311 Fax: 08 9474 6411
Mobile: 0438 844 079
www.mapsolutions.com.au <http://www.mapsolutions.com.au/>  

 

MapInfo Training
<http://www.mapsolutions.com.au/services/training/index.html> |
IntraMaps <http://www.mapsolutions.com.au/products/intramaps/index.html>
| InterMaps
<http://www.mapsolutions.com.au/products/intermaps/index.html>  |
MobileMap <http://www.mapsolutions.com.au/products/mobilemap/index.html>
| News <http://www.mapsolutions.com.au/news/index.html> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.directionsmag.com/pipermail/mapinfo-l/attachments/20060516/3c555032/attachment-0001.htm

------------------------------

Message: 5
Date: Tue, 16 May 2006 09:46:23 +0100
From: "Terry McDonnell" <[EMAIL PROTECTED]>
Subject: RE: [MI-L] Moving an object and it gets duplicated.
To: "Mike Osbourn" <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]"
        <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Mike
 
If by "point file" you mean a file with records that bear point
graphical objects then yes.
It was however imported from a dbase table that was REGISTERed into MI,
but the points were generated then and already exist before moving the
objects around.
 
Terry

________________________________

From: Mike Osbourn [mailto:[EMAIL PROTECTED] 
Sent: 16 May 2006 05:58
To: Terry McDonnell
Subject: RE: [MI-L] Moving an object and it gets duplicated.



I take it this is a point file?  Are you using a native MI format or a
dbase file?  I have run into some other issues lately with our dbase
files and generating points from them on the latest build of MI Pro 8.

 

Mike

 

Mike Osbourn

www.ccmaps.org

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.directionsmag.com/pipermail/mapinfo-l/attachments/20060516/a554657c/attachment.htm

------------------------------

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


End of MapInfo-L Digest, Vol 7, Issue 50
****************************************
------------------------------
Cairns City Council Disclaimer
------------------------------
"This message, and any attachments, may contain privileged and confidential 
information intended only for the use of the intended addressee(s).  Any 
unauthorized use of this material is prohibited.  If you receive this message 
in error, please notify the sender immediately, delete the message and destroy 
any printed or electronic copies.

Opinions expressed in this e-mail are those of the sender and do not 
necessarily represent the views of the Cairns City Council.  Council does not 
accept any responsibility for the loss or damage that may result from reliance 
on, or the use of, any information contained in this e-mail or attachments."
------------------------------

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to