Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: Primary Key not detected when a table has a Unique Key
Started by wasuplee123 at 08-04-2008 4:34 PM. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  08-04-2008, 4:34 PM
wasuplee123 is not online. Last active: 9/9/2008 9:31:45 AM wasuplee123

Top 25 Posts
Joined on 06-04-2008
Posts 8
Primary Key not detected when a table has a Unique Key
Reply Quote
Thanks for all the help with the questions so far.

I'm using MySQL with ODBC in MacroObject Code Auto. I'm having a problem when I try to use the "Synchronize" feature.

For a normal table with a primary key and no other keys, it correctly shows the "key" icon next to the primary key field and I am able to check the "AutoInc" column after it has been synchronized. However if I have a table with a primary key and at least 1 unique key as well, when I click "Synchronize" and expand the "Fields" node of my table, it no longer shows the Primary Key field with a "key" icon next to it.
   Report 
  08-06-2008, 1:41 AM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Primary Key not detected when a table has a Unique Key
Reply Quote
We've released a new update of CodeAuto.
Please install the newest version from our web-site:
  http://www.macrobject.com/en/codeauto/download.htm

A new parameter "PrimaryKeyEditable" has been added to CodeAuto.
Please use "PrimaryKeyEditable" to allow you modify the primary keys:
  CodeAuto.exe /pPrimaryKeyEditable=true

Any questions please feel free to contact us, thanks.

   Report 
Post
Macrobject Comm... » Developing Tool... » DObject O/R Map... » Re: Primary Key not detected when a table has a Unique Key

Powered by Community Server, by Telligent Systems