Hi Mr./Ms. Vera Barsukoff

Please try using the following code:

Open Table sPath + sST + "HP.TAB" As P_Hwy
Map From P_Hwy
Set Map Layer P_Hwy Editable On
set map redraw off
Set Map Layer P_Hwy Display Global Global Line (2,65,16711680) 
set map redraw on

To modify the line style for the complete layer there are 2 ways
1) Set the line property for the complete layer 
OR
2) Loop through each object and modify each object

Hope this helps!!

Thanx
Ujvala Kakkar
Web/GIS Consultant

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

-----Original Message-----
From: Cook, Mark [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 2:51 AM
To: Barsukoff, Vera; [EMAIL PROTECTED]
Subject: RE: MI-L Help!! Cannot convert data


Don't know whether this is the case in this instance, but if you try and do
an update column on a table with blank (greyed out) records, you get that
same message. Try packing the table first and then run it, this may solve
it.

-----Original Message-----
From: Barsukoff, Vera [mailto:[EMAIL PROTECTED]
Sent: 31 March 2003 23:38
To: [EMAIL PROTECTED]
Subject: MI-L Help!! Cannot convert data


I am attempting to change the display of Highway layers. I want MB to go
through the list of states(this works) and change the line display.
 
I have the following code:
 
Dim i as integer
Dim sStates, sRoot, sST, sPath as String
Dim oP_Hwy, PenObj As Object
 
Open Table sPath + sST + "HP.TAB" As P_Hwy
Map From P_Hwy
 
Set Map Layer P_Hwy Editable On
set map redraw on
Select obj from P_Hwy into Selection
oP_Hwy = P_Hwy.obj
PenObj = MAKEPEN(2,65,16711680) 
Alter Object oP_Hwy
Info OBJ_INFO_PEN, PenObj 
 

When I run this code I get an error "Could not convert data" and it all
stops. 
Can some one please help me. 
Thanks
 
 


 



This communication is from Wakefield Metropolitan District Council


Confidentiality: This communication may contain information that is
confidential and/or privileged and is for the exclusive use of the intended
recipient(s). Any form of distribution, copying or use of this communication
by anyone else is strictly prohibited. If you have received this
communication in error please reply to [EMAIL PROTECTED] or
telephone +44 (0) 1924 305444, and destroy any copies of this communication.


Security: This communication has been created and is sent in the knowledge
that Internet e-mail is not secure. We strongly advise you to understand and
be aware of this lack of security when e-mailing us. If you communicate with
us by Internet e-mail, we will assume that you accept the security risk and
that you authorise us to communicate with you in the same format.


Viruses: Although this e-mail and its attachments are believed to be free
from any virus, it is the responsibility of the recipient(s) to conduct
their own virus checks on all parts of this communication. 


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6180

Reply via email to