Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Composite Primary Key error

satyapriyanka_vana
Active Participant
0 Likes
698

Hello Friends

I created a Z table having 2 fields and those 2 fields are primary keys. I guess I can give the values of table as follows.

c1 c2

a   b

a   c

I am getting an error "An entry already existed with the same key".

Where might be the mistake?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
671

Hi,

please check the domains of both fields. Do they have a check table for their values?

Regards,

Klaus

3 REPLIES 3
Read only

Former Member
0 Likes
671

Hi ,

There wont be any problem for your scenario.

Check is there any spaces you have saved and again your trying to save spaces.

Regards

Mani

Read only

Former Member
0 Likes
672

Hi,

please check the domains of both fields. Do they have a check table for their values?

Regards,

Klaus

Read only

0 Likes
671

Problem in Table definition. Working Now. Thanks for the reply.

Regards

Priyanka