Display Tables record number on the main form (1 Viewer)

mansied

Member
Local time
Today, 10:17
Joined
Oct 15, 2020
Messages
99
Hello
I have a Database with 4 tables . How can I show the number of the records on the Main form?
When I create put "=Count([table1]! [primayKey1]) " for one table works .but when I add other tables it shows #Error for all even the first one ?
How can I show all tables total records on the main page?
Thank you
 

Ranman256

Well-known member
Local time
Today, 10:17
Joined
Apr 9, 2015
Messages
4,339
Put 4 list boxes on the form.
Under each list put a textbox,w the source:
=listbox.listcount-1
 

mansied

Member
Local time
Today, 10:17
Joined
Oct 15, 2020
Messages
99
Put 4 list boxes on the form.
Under each list put a textbox,w the source:
=listbox.listcount-1
How do I assign the textbox to each table?I am not sure I got your idea .could you show me with a sample ?
 

mansied

Member
Local time
Today, 10:17
Joined
Oct 15, 2020
Messages
99
1606958427023.png
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 10:17
Joined
May 21, 2018
Messages
8,525
How about the control source equal
=Dcount("*","TableName")
 

Users who are viewing this thread

Top Bottom