I have a MapX question - am unsure whether it is appropriate here, but the
MapX discussion group is nowhere near as active as this list, and a lot of
people on the list seem to cross over to the dark side.
I am having trouble using the ADO databinding in MapX in version 4 (beta).
The error is:
Run-time error '1165': Custom dataset error. Could not find a CLSID for the
type of custom dataset specified. Check that the custom dataset is properly
registered.
I am having the same error when I try to bind a the recordset from a ADO
data source to a map layer. The code worked when I used it when it was
pointed at a DAO recordset using version 3.51.
The map layer is registered, but is not in the default directory.
BindLayerObject.LayerName = "MI_SalesMap" ' The first column in source data
contains location ID
BindLayerObject.LayerType = miBindLayerTypeNormal
Set DS = frmMainTabs.SalesMap.Datasets.Add(miDataSetADO, _
frmMainTabs.AdodcSelSales.Recordset, "SelectedSales", "ID", , BindLayer
Object, , False)
The error message is fairly cryptic, can anyone shed light on where I need
to focus. I suspect the geodictionary.
Robert Crossley
Trinity Software
10 Trinity Street
Parramatta Park
CAIRNS 4870
AUSTRALIA
Phone: 61-7-40314877
Fax: 61-7-40314810
email: [EMAIL PROTECTED]
web: www.trinitysoftware.com.au
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]