T
Tara
I have a continuous form with a command button next to each record to delete
that record if desired. Due to an addition to the database, I recently
changed the record source of the form slightly. Since then, the delete code
isn't working. It appears to the user that it has deleted the record but
it's actually still in the table. Unless the user closes the form and then
reopens it for some reason, and sees that the record has "reappeared", they
have no clue the record still exists. I'm not sure how to get the code
working again, so I'm hoping someone can point out the problem. I'm sure it
has to do with changing the record source, so I've posted that here:
SELECT tblContact.ContactID, tblContact.CaseID, tblContact.PostedDate,
tblContact.ServiceDate, tblContact.FaceToFace, tblContact.TeamMtg,
tblContact.CrisesPC, tblContact.CC, tblContact.StaffMtg, tblContact.Admin,
tblContact.DS, tblContact.DSTypeID, tblContact.OC, tblContact.OCTypeID,
tblContact.NoShow, tblContact.Court, tblContact.Training, tblContact.Travel,
tblContact.Notes, tblContact.numID, tblAmendedDates.AmendID FROM tblContact
LEFT JOIN tblAmendedDates ON tblContact.ContactID =
tblAmendedDates.ContactID;
that record if desired. Due to an addition to the database, I recently
changed the record source of the form slightly. Since then, the delete code
isn't working. It appears to the user that it has deleted the record but
it's actually still in the table. Unless the user closes the form and then
reopens it for some reason, and sees that the record has "reappeared", they
have no clue the record still exists. I'm not sure how to get the code
working again, so I'm hoping someone can point out the problem. I'm sure it
has to do with changing the record source, so I've posted that here:
SELECT tblContact.ContactID, tblContact.CaseID, tblContact.PostedDate,
tblContact.ServiceDate, tblContact.FaceToFace, tblContact.TeamMtg,
tblContact.CrisesPC, tblContact.CC, tblContact.StaffMtg, tblContact.Admin,
tblContact.DS, tblContact.DSTypeID, tblContact.OC, tblContact.OCTypeID,
tblContact.NoShow, tblContact.Court, tblContact.Training, tblContact.Travel,
tblContact.Notes, tblContact.numID, tblAmendedDates.AmendID FROM tblContact
LEFT JOIN tblAmendedDates ON tblContact.ContactID =
tblAmendedDates.ContactID;