|
-
Oct 10th, 1999, 09:46 PM
#1
Thread Starter
Addicted Member
-
Oct 11th, 1999, 04:22 AM
#2
New Member
You can do it like this:
Dim NewRelation As Relation
Set NewRelation = db.CreateRelation("ReferralContactsTransactions", _
"ReferralContacts", "Transactions", dbRelationDontEnforce)
NewRelation.Fields.Append NewRelation.CreateField("RefContactID")
NewRelation.Fields("RefContactID").ForeignName = "RefContactID"
db.Relations.Append NewRelation
-
Oct 11th, 1999, 02:57 PM
#3
Junior Member
Hi Geoff
You should determine references while creating a table.
CREATE TABLE "dbo"."TableX" (
"Id" "int" IDENTITY (1, 1) NOT NULL ,
"StringValue" varchar (20) NOT NULL ,
) REFERENCES "dbo"."Join" (
"Join_Id"
)
)
GO
-
Oct 13th, 1999, 12:12 PM
#4
Guru
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|