My problem is how to put a PK index instead of a PK field,as the left table
field name,when creating a new relation in the relationships window.But i
have not access to the index name there and just field names are
listed.In
detail:
In the relationships window,i want to create a new one to many relation
between two tables.The left table doesnt have a field as its PK,and has a
unique index named SQN that its Primary Key property is set to true (as you
mentioned above)and is made from 2 fields of the left table.Now i want to
define this index as the left table field,instead of a separate field.In
other word,i want to use an index (and not a field) for the one side of a
one to many relationship,in the relationshipe window.But when i open
combobox containing left table field names,i cant see SQN (index name)
between field names.So how to put SQN as left field name?
Thank you again for your help.
MacDermott said:
Yes, this is possible.
Are you having some problem doing this?
If so, please tell us what you're doing, what's happening that you
don't
want, and/or what isn't happening that you do want.
Ok;
Then i want to use this index as One side of a One-To-Many
relationship
and
force Referential integrity>Cascade Delete for this relation.This is
my
goal
of making this index.Is it possible?
Thank you for your attention.
Yes, it is possible.
In the Index Dialog Box, at the bottom, set Primary Key to True.
HTH
Hello;
I defined 2 field of [Table1] as a unique index for this table.Fields
are
[SQ]+[SN] and the index name is SQN.
My purpose of making this index is to use it as One side of a
One-To-Many
relationship,then force cascade delete for it.But i dont know how
to
do
this.
Is it possible to use a combined Index,instead of a field,for such
relationships?Any help is appreciated.
Thank you in advance.