|
-
Jan 17th, 2003, 08:36 AM
#1
Thread Starter
Lively Member
Need Help with Indexes
Ok...really frazzled now and need some major help. I am trying to create an index but it is just not working. I keep getting a "Run-time error '3409': Invalid field definition 'DocTitle' in definition of index or relationship.
Here's a code snipet:
Set cmptbl = cmpdb!compliance
With cmptbl
Set cmpidx = .CreateIndex("cmptitle")
With cmpidx
.Fields.Append .CreateField("DocTitle")
.Fields.Append .CreateField("DocDesc")
End With
.Indexes.Append cmpidx
.Indexes.Refresh
End With
Am I missing something here? Definately lost now. Could've sworn it was working yesterday.
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
|