Paul - The MapX help has this under accessing attribute data
"The following code example will open a MapInfo *.tab file, then access the remote data and tie it to the layer. You now can label or place themes based on the columns. Dim Lay As Layer Dim dsname As String Set Lay = Map1.Layers.Add(filename) dsname = Lay.Name Map1.Datasets.Add miDataSetLayer, Lay, dsname " The reference to 'remote data' is because TAB is just one of the data sources supported (though you'd hope it was one of the quickest!). If you've got the dataset attached you can then get at it through your found feature - BTW the MapX discussion group on the MI Website is probably a better place for the MapX queries, and theres lots of sample code. HTH Paul Crisp Syntegra Direct: 0191 461 4522 Mobile: 0776 414 3762 Fax: (0191) 461 1959 Innovation Place Metro Riverside Park Delta Bank Road Gateshead Tyne & Wear NE11 9DJ -----Original Message----- From: Braniff Paul [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 11:07 To: '[EMAIL PROTECTED]' Subject: MI-L Visual basic 6 with MapX Hi, I'm trying to use Visual Basic 6 with MapX to return information about a feature when it has been selected. I want to select a button from my toolbar and then click on a feature. I need all the information about this feature that is held in a MapInfo table to be displayed. Has anyone any idea on how to go about doing this? many thanks Paul -- This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Sx3 unless otherwise notified by our duly authorised representative independent of this message. Sx3 is a trading name of Service and Systems Solutions Limited, a limited company registered in Northern Ireland under number NI 32979 whose registered office is at 120, Malone Road, Belfast, BT9 5HT. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ******************************************************************** --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
