Gasman
Enthusiastic Amateur
- Local time
- Today, 18:03
- Joined
- Sep 21, 2011
- Messages
- 16,662
Hi all,
I have constructed a small DB to keep track of a college reunion I am organising.
I organised one in 1996 and produced a newsletter for what had gone on from 1971 when we started, to the reunion.
So I decided to add a memo field for 2021 as I had one for 1996 (all that was needed at the time). Then decided I would have a table to hold the news notes and link to the Cadet table.
The tblHistory has fields
HistoryID
HistoryCadet - FK from Cadet table
HistoryYear - 1996 or 2021
HistoryNotes - Memo field
I have then changed the History fields in the cadet table to Dlookup the data from the tblHistory table.
That is the background.
My question is I know I should have indexes on HistoryCadet and HistoryYear, but can I make an index of both fields, as they will be unique, or do I have to have two individual indexes, one for each field.?
I only have 90 records in the cadet table, so a potential of 180 in the History table, so cannot see any speed difference, but curious to know. the best way?
TIA
I have constructed a small DB to keep track of a college reunion I am organising.
I organised one in 1996 and produced a newsletter for what had gone on from 1971 when we started, to the reunion.
So I decided to add a memo field for 2021 as I had one for 1996 (all that was needed at the time). Then decided I would have a table to hold the news notes and link to the Cadet table.
The tblHistory has fields
HistoryID
HistoryCadet - FK from Cadet table
HistoryYear - 1996 or 2021
HistoryNotes - Memo field
I have then changed the History fields in the cadet table to Dlookup the data from the tblHistory table.
That is the background.
My question is I know I should have indexes on HistoryCadet and HistoryYear, but can I make an index of both fields, as they will be unique, or do I have to have two individual indexes, one for each field.?
I only have 90 records in the cadet table, so a potential of 180 in the History table, so cannot see any speed difference, but curious to know. the best way?
TIA