Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Showing max date, min date and count of records in table

$
0
0
I have a simple Db consisting of a single table (tblRoomAssignment) with four fields:
fldAutoID
fldDate
fldUser
fldRoom

I have a form where the user creates a query to locate records of interest. I'm using Combo boxes for each form field. Everything works fine.

Now I want to add three text boxes to the form that show:
the minimum date in fldDate,
the maximum date in fldDate, and
the count of records in tblRoomAssignment.

I do not intend for the user to modify the values in these text boxes.

I'm pretty sure I create an unbound text box and use an expression as the default value but that's as far as I've been able to get.

Help is appreciated!

Viewing all articles
Browse latest Browse all 13329

Trending Articles