N
Neil
Hello All,
I have a question with regards to Primary Keys. I have a table that has the
following fields:
lngMachineID (Primary Key Field)
lngDescriptionID (Primary Key Field)
dblPrice
blnIsStandard
blnIsRequired
This table is a Junction table used in a Many-To-Many relationship. I dont
think i need to provide any more information as my question is this:
For a unique record to be entered it needs to have a MachineID and a
DescriptionID (as with all other Junction tables), does Access treat these 2
values as one seeing as though both these fields make up the primary key? If
so, how does it and how can i use it (in queries for example). At the
moment, if i was to do a query on this table i would have to check to see if
lngMachine = some value and lngDescriptionID = another value. Could this be
made simpler by checking to see if Primary Key = some value?
Hope my question makes sense and thanks for your help in advance.
Neil.
I have a question with regards to Primary Keys. I have a table that has the
following fields:
lngMachineID (Primary Key Field)
lngDescriptionID (Primary Key Field)
dblPrice
blnIsStandard
blnIsRequired
This table is a Junction table used in a Many-To-Many relationship. I dont
think i need to provide any more information as my question is this:
For a unique record to be entered it needs to have a MachineID and a
DescriptionID (as with all other Junction tables), does Access treat these 2
values as one seeing as though both these fields make up the primary key? If
so, how does it and how can i use it (in queries for example). At the
moment, if i was to do a query on this table i would have to check to see if
lngMachine = some value and lngDescriptionID = another value. Could this be
made simpler by checking to see if Primary Key = some value?
Hope my question makes sense and thanks for your help in advance.
Neil.