Jack,

Keep this in mind:

Open table "test.tab"

Here table test is open.  Test.obj refers to an object in an open table
called test.  "test" is not a string variable.

PathToTableName$("string variable") is going to return a string. If for
some reason you need to use the results of the above call in a statement
then you will need to use an alias.  In this particular situation
MapInfo does not recognize a string variable as an indicator for an open
table unless you assign it to an alias.

If all you are doing is trying to make a call to centroidx and centroidy
PathToTableName$ is not necessary.  test.obj will do the job as
parameters.
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to