dynamite9585
Registered User.
- Local time
- Tomorrow, 00:44
- Joined
- Jul 4, 2010
- Messages
- 34
SOLVED: Append Query: Making too many records.
I have 2 append queries behaving in a similar manner.
one of the values i need to append is from a combo box on the form.
it appends the correct values to the table but the number it appends in equal to the number of values in the combo box.
the combo box displays the upcoming courses and is used to choose what course to send the person on.
the code given has 3 results in the combo box, therefore appends the same record to CadetCourses 3 times.
I have 2 append queries behaving in a similar manner.
one of the values i need to append is from a combo box on the form.
it appends the correct values to the table but the number it appends in equal to the number of values in the combo box.
Code:
INSERT INTO CadetCourses ( CadetID, CourseID, DateAdded )
SELECT JncofinderQuery.[Cadet Number], [Forms]![JncofinderForm]![Combo53] AS Expr1, Date() AS [Date]
FROM JncofinderQuery, UpcomingJNCOQuery
WHERE (((JncofinderQuery.tempcourse)=Yes));
the combo box displays the upcoming courses and is used to choose what course to send the person on.
the code given has 3 results in the combo box, therefore appends the same record to CadetCourses 3 times.
Last edited: