Date record

J

Jeff

Hi

I've been reading up on creating reports in Access, and it seems that
many recommend having a date record with the dates for the beginning
and end of the reporting period.

I had questions on setting up this record in a query. Do you put a key
on it, and then just find the key using the where option? Or is there a
better way?

Thanks..

Jeff
 
G

Guest

It isn't clear what you mean by a "date record". Is this a one record table
with BeginDate and EndDate fields? If so, the table should only be a single
record since the table is in the front-end mdb. There shouldn't be a need for
a primary key.
 
J

Jeff

Hi Duane

Yes, I mean a one record table with BeginDate and EndDate fields. If
there's no key, how do I access the record in my query? I just thought
the key would provide me a way to get that record.

Thanks

Jeff
 
G

Guest

If there is only one record ever, then you don't need to have any key value.
If you have more than one record, you must specify the exact record that
contains the dates needed for your query.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top