J
Johnh
Can someone help me understand why I'm getting a run-time error 3048 - Cannot open any more databases?
I am using Access 2002
Private Sub Form_Current(
Me.txt_Unmatched = Me.CHKDAT_Am
Dim Updt_frm_match_ind As Strin
Dim Mydb3 As Databas
Updt_frm_match_ind = "UPDATE tbl_AP_multi_txn_must_match_manually SET "
& "tbl_AP_multi_txn_must_match_manually.frm_match = No WHERE "
& "(((tbl_AP_multi_txn_must_match_manually.frm_match)=Yes) AND "
& "((tbl_AP_multi_txn_must_match_manually.[Txn Clear Date]) Is Null));
Set Mydb3 = CurrentDb() <== break occurs her
I don't get this problem with a different form in the same database:....
Private Sub Form_Current(
Dim Delete_Cat_List As String, Add_Cat_List As Strin
Delete_Cat_List = "DELETE tbl_frm_Picklist_Category_Filtered.* FROM tbl_frm_Picklist_Category_Filtered;
Add_Cat_List = "INSERT INTO tbl_frm_Picklist_Category_Filtered SELECT Category FROM tbl_Group_and_Category" &
" WHERE [Group]='" & Me.Group & "';
Dim Mydb As Databas
Set Mydb = CurrentDb(
Mydb.Execute Delete_Cat_Lis
Mydb.Execute Add_Cat_Lis
DoCmd.Requery "Category
End Su
Thanks for any help that can be provided!
I am using Access 2002
Private Sub Form_Current(
Me.txt_Unmatched = Me.CHKDAT_Am
Dim Updt_frm_match_ind As Strin
Dim Mydb3 As Databas
Updt_frm_match_ind = "UPDATE tbl_AP_multi_txn_must_match_manually SET "
& "tbl_AP_multi_txn_must_match_manually.frm_match = No WHERE "
& "(((tbl_AP_multi_txn_must_match_manually.frm_match)=Yes) AND "
& "((tbl_AP_multi_txn_must_match_manually.[Txn Clear Date]) Is Null));
Set Mydb3 = CurrentDb() <== break occurs her
I don't get this problem with a different form in the same database:....
Private Sub Form_Current(
Dim Delete_Cat_List As String, Add_Cat_List As Strin
Delete_Cat_List = "DELETE tbl_frm_Picklist_Category_Filtered.* FROM tbl_frm_Picklist_Category_Filtered;
Add_Cat_List = "INSERT INTO tbl_frm_Picklist_Category_Filtered SELECT Category FROM tbl_Group_and_Category" &
" WHERE [Group]='" & Me.Group & "';
Dim Mydb As Databas
Set Mydb = CurrentDb(
Mydb.Execute Delete_Cat_Lis
Mydb.Execute Add_Cat_Lis
DoCmd.Requery "Category
End Su
Thanks for any help that can be provided!