Hi,
I was able to implement the add-in gINT Rules module GRA008 (to publish data on Google Earth) after a few modifications. However, later on, I decided to divide my POINT table into smaller 'child' tables with one-to-one relationships. Now, the procedure is not working. The problem, perhaps, is that the program is not able to retrieve co-ordinates (Latitude & Longitude) from the 'child' table and hence displays the error 'no plottable attributes'. It seems that the snapshot-type recordset object created in the procedure GoogleEarthPlotPointIDsErrorFn is making a copy from one table only - but I am not sure since I am not too familiar with the use of DAO objects. It seems like that the "sSql" string parameter defined and used as
sSql = "Select * " & "From POINT"
Set snPointIDs = gINTRules.CurrentProject.OpenRecordset(sSql, dbOpenSnapshot)
has something to do with the problem. If anybody has implemented this procedure, or has familiarity with SQL/database objects, Could you explain how this works?
I think I can solve the problem by copying the Latitude, Longitude fields back to the parent POINT table, but I would like to keep it within the child table. Also, I would not like to duplicate these fields in two different tables.
If anybody can enlighten me...
Will appreciate.
Shreker