Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

count records... 1

Status
Not open for further replies.

jonra

Programmer
Jul 20, 2003
42
SG
in my subform,a car number hav mani records..how can i count them n list the number in the main form?pls help..thanks
 
In your subform footer, create a calculated textbox (NoOfRecords), with the controlsource:
=Count(*)

In your main form, create a calculated text box with the control source:
=[SubformName].Form![NoOfRecords]

Good luck



[pipe]
Daniel Vlas
Systems Consultant

 
another question..i wan to pop up a form if the value is equal or greater than 3...how will the coding goes?..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top