Hello,
Newbie here
I am trying to use VBA to delete rows from multiple tables based on a textbox on a form. I have a simple form like this:
UserID
FirstName
LastName
I want a delete button on the form which will delete the row for UserID in both the Users table and the Numbers table. The Numbers tables is junction table.
The tables are like this
tblUsers
UserID (PK)
LastName
FirstName
tblPhoneLog
PhoneLogid (PK)
UserID (FK)
DnID (FK)
PhantomID (FK)
Newbie here
I am trying to use VBA to delete rows from multiple tables based on a textbox on a form. I have a simple form like this:
UserID
FirstName
LastName
I want a delete button on the form which will delete the row for UserID in both the Users table and the Numbers table. The Numbers tables is junction table.
The tables are like this
tblUsers
UserID (PK)
LastName
FirstName
tblPhoneLog
PhoneLogid (PK)
UserID (FK)
DnID (FK)
PhantomID (FK)