P
pjb
I'm trying to add two fields to a form in Design view. The first one is just
a field for today's date; and I would like to include a label called "Today's
Date."
The second is a bit more detailed. This is going to be an appointment/date
book, keeping several records based on hourly appointments. What I would
like to do is have a field based on a calculation: the count of the number
of appointments already scheduled for that time period. I've had some
training in Oracle and SQL, so I know the query will be something like:
SELECT COUNT(*) from [Appt_book].[Appts] WHERE [Date]=(field read from form)
AND [Time]=(field read from form)
I want the field to simply read as empty until the time and date are
entered, then when both are entered, I would like a field on the screen to
indicate the count for the number of appointments already scheduled on the
same date and time.
Also, I forget how to add calculated fields to forms in general. I know
there's a way... but I forget how!
Thanks in advance for the help.
a field for today's date; and I would like to include a label called "Today's
Date."
The second is a bit more detailed. This is going to be an appointment/date
book, keeping several records based on hourly appointments. What I would
like to do is have a field based on a calculation: the count of the number
of appointments already scheduled for that time period. I've had some
training in Oracle and SQL, so I know the query will be something like:
SELECT COUNT(*) from [Appt_book].[Appts] WHERE [Date]=(field read from form)
AND [Time]=(field read from form)
I want the field to simply read as empty until the time and date are
entered, then when both are entered, I would like a field on the screen to
indicate the count for the number of appointments already scheduled on the
same date and time.
Also, I forget how to add calculated fields to forms in general. I know
there's a way... but I forget how!
Thanks in advance for the help.