J
JH
I have a need to design a table that contains:
Field1, DateX
Field1 will always be either "A", "B" or "C". The DateX
will change. For example, for a known date, ie., January
1, 2004, I would start either that date being maybe "B",
Jan 2 would be "C" and Jan 3 would be "A", Jan 4 would
be "B" and so on. It will always go in that sequence. It
just depends on what value (A,B or C) that I start with.
I have a need to start this for at least a year ago and
then go ahead into the future for at least two years.
Question1: What's the best way to design this? I will
reference the DateX to a date (which is date/time format)
in another table in order to determine if A, B or C.
Question2: If the answer to Question1 is to just setup a
table and create a little code to automate the entries for
a set period of time, what is that code?
Field1, DateX
Field1 will always be either "A", "B" or "C". The DateX
will change. For example, for a known date, ie., January
1, 2004, I would start either that date being maybe "B",
Jan 2 would be "C" and Jan 3 would be "A", Jan 4 would
be "B" and so on. It will always go in that sequence. It
just depends on what value (A,B or C) that I start with.
I have a need to start this for at least a year ago and
then go ahead into the future for at least two years.
Question1: What's the best way to design this? I will
reference the DateX to a date (which is date/time format)
in another table in order to determine if A, B or C.
Question2: If the answer to Question1 is to just setup a
table and create a little code to automate the entries for
a set period of time, what is that code?