• Post Reply Bookmark Topic Watch Topic
  • New Topic


Paco García
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to everybody.

I have this scenario:

One table called Items and other table called OperationsByItem.

PK of Items is id(string) and PK of OperationsByItem is item(String) which is FK to Items,kind(int) and position(int)

So, I have some operations for each Item and each can be of diffeent kind. And I can have more than one operation of the same kind.

I need to make a onetomany relation from items to operationsbyitem but only to get operations of a kind.

¿Can anyone help me, please?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!