A
accessuser via AccessMonster.com
Table 1 Name: Bank
Table 2 Name: Ledger
1 Main form with 4 subforms (only having problem with 2 subforms)
1st Subform: UnMatch1 (query based on Ledger)
2nd Subform: UnMatch2 (query based on Bank)
Once my users verfied information from both subforms, they will decide if
those items match (by record) on the Status field.
I need to have a CmdMatch which can allow users to select particular record
and make update the Status to Match or UnMatch.
I did some research all day but only one that's close enough to what I wanted
is the following code:
Private Sub CmdMatch_Click()
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb
mySQL = "UPDATE Ledger SET Status = ""Matched"" WHERE [Status] = '" & Status
& "'"
CurrentDb.Execute mySQL
End Sub
This code changes all records to "Matched" in the Status field. ??
Thanks in advance.
Table 2 Name: Ledger
1 Main form with 4 subforms (only having problem with 2 subforms)
1st Subform: UnMatch1 (query based on Ledger)
2nd Subform: UnMatch2 (query based on Bank)
Once my users verfied information from both subforms, they will decide if
those items match (by record) on the Status field.
I need to have a CmdMatch which can allow users to select particular record
and make update the Status to Match or UnMatch.
I did some research all day but only one that's close enough to what I wanted
is the following code:
Private Sub CmdMatch_Click()
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb
mySQL = "UPDATE Ledger SET Status = ""Matched"" WHERE [Status] = '" & Status
& "'"
CurrentDb.Execute mySQL
End Sub
This code changes all records to "Matched" in the Status field. ??
Thanks in advance.