Hello all,

   Anybody use mapinfo with oracle?
   I  tried  upload  data  from  mapinfo  table  into  oracle with using
   MIUPLOAD.MBX  as described in documentation, but after that i can't
   open ODBC table as map, it's opened only as list.

   My steps:

   1. Created table MAPINFO_MAPCATALOG on Oracle.
   2. Upload data from mapinfo table to oracle using MIAPLOAD.MBX
   3. Added graphical information into my ODBC table.
   4. Open ODBC table.

   It's opened only as list :(

   By  the  way,  I  commented  some code in MIUPLOAD.MBX because it's
   doesn't work:

  IF bUploadHHCODE THEN
    ONERROR GOTO MDERROR
'    Server demohdbc begin transaction
'    hstmnt = Server_execute(demohdbc,
'       "begin md_ddl.register_md_table ('" + SRVTableName + "'); end;")
'    Server hstmnt Close
    IF dbg THEN
      PRINT  "����������� ������� HH"
    END IF
'    '������� format$()
'    hstmnt = Server_execute(demohdbc,
'               "begin md_ddl.add_hhcode_column('"+ SRVTableName +
'                "','MI_SQL_HHCODE',false,'MI_SQL_X',"+
'                Format$(MAP_ranges.X_L_B,"#.########")+
'               ","+Format$(MAP_ranges.X_U_B,"#.########")+
'                ",10,'MI_SQL_Y',"+
'                Format$(MAP_ranges.Y_L_B,"#.########")+","+
'                Format$(MAP_ranges.Y_U_B,"#.########")+",10); end;")


What mean "md_ddl.register_md_table" and "md_ddl.add_hhcode_column"?
It's doesn't work on Oracle! Maybe it's stored procedures?

Best regards,
Lisachenko Eugeny V.                            mailto:[EMAIL PROTECTED]
                                                ICQ UIN: 28247326
----------------------------------------------------------------------
"VAZSYSTEM"                                   http://www.vazs.volga.ru



----------------------------------------------------------------------
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