You have to create a non duplicate index, include the primary key
field(s) to this index and set the index name as primary index property
of the table.
Regards,
Agus
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of cdlmalherbe01
Sent: 23 April 2005 21:38
To: [email protected]
Subject: [development-axapta] Relations and primary keys
Hi g&g,
I'm relatively new to Axapta and very new to MorphX/X++. I'm busy
studying for my Ax 3.0 programming exam.
According to the developer's guide, in order to create a primary key on
a table(visible in MS-SQL as a PK), you have to relate the extended
data type to the field in the table.
I've done this, but have not noticed a PK created for the field in
question. Apart from saving/synchronising, what else do I need to do or
have I misunderstood?
Also, in a scenario where a table has a composite primary key(2 fields
together make up the PK), how do you create/enforce such a primary key?
Regards,
Christoph Malherbe
Yahoo! Groups Links
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

