J
jmd
tblScoringTable
ScoringID PK
TicketNumber
QuestionNumber
ChoiceNumber
Ticket number is pre-populated from another external database via an append
query, the remaining fields have no data.
TicketNumber QuestionNumber ChoiceNumber
12345
99999
77777
55555
I have scoring survey/questionnaire with 13 questions (in another table).
For each TicketNumber, I need the QuestionNumber to be populated with 1
through 13, thus 13 records for each ticket. ChoiceNumber will remain blank
until I evaluate/score the ticket. The result would look like this.
TicketNumber QuestionNumber ChoiceNumber
12345 1 Null
12345 2 Null
12345 3 Null
12345 4 Null
12345 5 Null
12345 6 Null
12345 7 Null
12345 8 Null
12345 9 Null
12345 10 Null
12345 11 Null
12345 12 Null
12345 13 Null
99999 1 Null
99999 2 Null
99999 3 Null
99999 4 Null
99999 5 Null
and so on... How could I programmatically or via query, populate the table
with the existing TicketNumber. If ChoiceNumber is "not null" then it
wouldn't create a record. Any help would be muuuch appreciated, I'm googled
out and these forums are thee best.
ScoringID PK
TicketNumber
QuestionNumber
ChoiceNumber
Ticket number is pre-populated from another external database via an append
query, the remaining fields have no data.
TicketNumber QuestionNumber ChoiceNumber
12345
99999
77777
55555
I have scoring survey/questionnaire with 13 questions (in another table).
For each TicketNumber, I need the QuestionNumber to be populated with 1
through 13, thus 13 records for each ticket. ChoiceNumber will remain blank
until I evaluate/score the ticket. The result would look like this.
TicketNumber QuestionNumber ChoiceNumber
12345 1 Null
12345 2 Null
12345 3 Null
12345 4 Null
12345 5 Null
12345 6 Null
12345 7 Null
12345 8 Null
12345 9 Null
12345 10 Null
12345 11 Null
12345 12 Null
12345 13 Null
99999 1 Null
99999 2 Null
99999 3 Null
99999 4 Null
99999 5 Null
and so on... How could I programmatically or via query, populate the table
with the existing TicketNumber. If ChoiceNumber is "not null" then it
wouldn't create a record. Any help would be muuuch appreciated, I'm googled
out and these forums are thee best.