Hi James,
The syntax is
UPDATE tablename SET TXTFieldName = 'TXTFieldValue', NumericFieldName =
NumericFieldValue
WHERE TXTFieldName = 'TXTFieldValue' AND NumericFieldName =
NumericFieldValue
Hence you can change your statement to,
UPDATE FromTrainersTable SET FieldToUpdate1 = Value1, FieldToUpdate2 =
Value2
WHERE (UserID = '::UserID::' AND CourseCode = '::CourseCode::')
Ensure that you test your query in Access or SQL with hardcoded values
before using in FP.
Regards,
Vijay
Disclaimer: This posting is provided "as is" with no warranties and confers
no rights
--------------------
| Content-Class: urn:content-classes:message
| From: "JA" <
[email protected]>
| Sender: "JA" <
[email protected]>
| Subject: Multiple Update
| Date: Thu, 4 Mar 2004 02:11:43 -0800
| I want to be able to check course attendance on-line. How
| can I modify the query below to update more than one
| record at a time?
|
| SELECT * FROM FromTrainersTable WHERE (UserID
| = '::UserID::' AND CourseCode = '::CourseCode::')
|