NewfieSarah
Registered User.
- Local time
- Today, 01:16
- Joined
- Feb 11, 2005
- Messages
- 193
Hey all, here is my problem. I have a form with my 5 different counters on there and well they are not updating. I can update them on the main page but not on the other pages. I have a page called PID where there are 4 command buttons and counters. I click on the first command button, and add a record there now I would go back to the main page PID and the counter needs to update. How do I do this?? the code I have for to create the counter on the main page is as follows, However I need to enter the building form, and add or delete a record and have the counter on the main page update once finnished with that form. I hope I explained this good enough for someone to help. Thanks in advance.
'Building recordset
On Error Resume Next
If bdg.EOF And bdg.BOF = True Then
bdgcount = 0
Else
With bdg
.MoveFirst
.MoveLast
bdgcount = .RecordCount
End With
End If
'Building recordset
On Error Resume Next
If bdg.EOF And bdg.BOF = True Then
bdgcount = 0
Else
With bdg
.MoveFirst
.MoveLast
bdgcount = .RecordCount
End With
End If