rocky050371
asked on
Linked Tables + Adding an order column
I have three tables Task, Steps and a join table, each Task can have unlimited steps. The problem I have is I need to store the order in which the steps appear, now if I store the order with the steps table I am unable to use existing steps within other tasks
What is the best way of achieving this?
I currently have a task object which has a collection of step objects.
What is the best way of achieving this?
I currently have a task object which has a collection of step objects.
What are the fields in steps table?
ASKER
STEP_ID int Unchecked
STEP_Type smallint Unchecked
STEP_RecordID int Unchecked
STEP_Description varchar(200) Unchecked
STEP_Type smallint Unchecked
STEP_RecordID int Unchecked
STEP_Description varchar(200) Unchecked
Is there any field which can be used to order steps?
ASKER
No, as the step may be disconnected
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I tend to agree, what I will do is allow them to copy an existing step, that should get around the problem.