I
Ivano via AccessMonster.com
I have following function form_delete event (I can't move to
Form_BeforeDelConfirm because I need the link criteria): When I try to make
changes on the opened for I get the error message "Operation Not Supported in
Transactions". what can I do?
stLinkCriteria = "[ID_loan_mov_back]=" & Me!ID_loan_mov_back
stDocName = "A_msk_veicolo_cliente_mov_back_loan"
Cancel = True
MsgBox "......."
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog
Set dbsveicoli = CurrentDb
Set rsttemp = dbsveicoli.OpenRecordset("select * from tbl_loan_mov_back
where ID_loan_mov_back = " & Me!ID_loan_mov_back)
rsttemp.Delete
rsttemp.Close
Set rsttemp = Nothing
Form_BeforeDelConfirm because I need the link criteria): When I try to make
changes on the opened for I get the error message "Operation Not Supported in
Transactions". what can I do?
stLinkCriteria = "[ID_loan_mov_back]=" & Me!ID_loan_mov_back
stDocName = "A_msk_veicolo_cliente_mov_back_loan"
Cancel = True
MsgBox "......."
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog
Set dbsveicoli = CurrentDb
Set rsttemp = dbsveicoli.OpenRecordset("select * from tbl_loan_mov_back
where ID_loan_mov_back = " & Me!ID_loan_mov_back)
rsttemp.Delete
rsttemp.Close
Set rsttemp = Nothing