M m17347047711116 Registered User. Local time Today, 20:15 Joined Feb 4, 2002 Messages 68 Jan 20, 2003 #1 Would like to put a box on my form that tells me how many records are in the under lying form.
K kidzmom3 Member Local time Today, 20:15 Joined Jan 25, 2002 Messages 39 Jan 20, 2003 #2 Creat and unbound control then on the On Current property of the form create an Event Procedure as follows Dim dbs As Database Dim rst As Recordset Set dbs = CurrentDb() Set rst = Forms![frmName]!Form.RecordsetClone Me.UnboundControl = rst.RecordCount
Creat and unbound control then on the On Current property of the form create an Event Procedure as follows Dim dbs As Database Dim rst As Recordset Set dbs = CurrentDb() Set rst = Forms![frmName]!Form.RecordsetClone Me.UnboundControl = rst.RecordCount
J Jack Cowley Registered User. Local time Today, 20:15 Joined Aug 7, 2000 Messages 2,636 Jan 20, 2003 #3 This should work too... Me.RecordsetClone.MoveLast Me.UnboundControlName = Me.RecordsetClone.RecordCount hth, Jack
This should work too... Me.RecordsetClone.MoveLast Me.UnboundControlName = Me.RecordsetClone.RecordCount hth, Jack
M m17347047711116 Registered User. Local time Today, 20:15 Joined Feb 4, 2002 Messages 68 Jan 20, 2003 #4 Thank you Thank you very much
J Jack Cowley Registered User. Local time Today, 20:15 Joined Aug 7, 2000 Messages 2,636 Jan 20, 2003 #5 You are welcome from both of us, though it is somewhat pretentious for me to speak for the other poster.... Jack
You are welcome from both of us, though it is somewhat pretentious for me to speak for the other poster.... Jack
K kidzmom3 Member Local time Today, 20:15 Joined Jan 25, 2002 Messages 39 Jan 20, 2003 #6 Being pretentious is OK Jack! Your approach should actually be more streamlined. Mine was based on a subform total being stated on the main form!!!
Being pretentious is OK Jack! Your approach should actually be more streamlined. Mine was based on a subform total being stated on the main form!!!
J Jack Cowley Registered User. Local time Today, 20:15 Joined Aug 7, 2000 Messages 2,636 Jan 20, 2003 #7 Thanks for saying it was OK to be pretentious! There are a lot of ways to skin a cat and we just gave the poster two of them... Jack PS. No cats were injured during the writing of this message...
Thanks for saying it was OK to be pretentious! There are a lot of ways to skin a cat and we just gave the poster two of them... Jack PS. No cats were injured during the writing of this message...