G
Guest
Hi everyone,
I am using Access 2007 on an Access 2003 database. I have a process - that
works - that when a certain type of record is added in a form that is a
form-continuous subform structure the AfterUpdate event fires and adds a
second related record to the table. Everything here is working okay. The
record is added, the related record is added and the form and subform display
the correct information.
What I am working now - and it almost works correctly - is when the record
of a certain type is deleted. I have the process that deletes the related
record working. I used the Delete event, passed the required information to a
module, developed and executed a delete query via DoCmd.RunSQL.
I have tried every way from Sunday to get the subform to "refresh" itself
and remove the #Deleted reference from the deleted related record. I have
tried a Me.Requery, Me.Refresh and Me.Repaint in the form, subform and
module. No go.
Any suggestions will be greatly appreciated.
Bruce
I am using Access 2007 on an Access 2003 database. I have a process - that
works - that when a certain type of record is added in a form that is a
form-continuous subform structure the AfterUpdate event fires and adds a
second related record to the table. Everything here is working okay. The
record is added, the related record is added and the form and subform display
the correct information.
What I am working now - and it almost works correctly - is when the record
of a certain type is deleted. I have the process that deletes the related
record working. I used the Delete event, passed the required information to a
module, developed and executed a delete query via DoCmd.RunSQL.
I have tried every way from Sunday to get the subform to "refresh" itself
and remove the #Deleted reference from the deleted related record. I have
tried a Me.Requery, Me.Refresh and Me.Repaint in the form, subform and
module. No go.
Any suggestions will be greatly appreciated.
Bruce