Re: CreateField error
From: Douglas J. Steele (NOSPAM_djsteele_at_NOSPAM_canada.com)
Date: 10/21/04
- Previous message: Kevin Yu [MSFT]: "Re: VB error with access Help"
- In reply to: Max: "CreateField error"
- Next in thread: Max: "Re: CreateField error"
- Reply: Max: "Re: CreateField error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 17:57:30 -0400
Does field OpNoteID exist in the table?
Also, I'd recommend replacing the DAO 2.5/3.5 reference with the DAO 3.5x
reference. DAO 2.5/3.5 is only intended for backwards compatibility.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Max" <max_nospam@mscm.info> wrote in message news:cl7i8i$8qs$1$8302bc10@news.demon.co.uk... > Hi, > I am using Access97 on Windows XP desktop and the following references: > Visual basic VBA322.DLL > Access 8.0 Object Library > Common controls 6.0 > Word 10.0 > DAO 2.5/3.5 > > The following code generates a "Method or data member not found" error on > the CreateField. > > Set tdf = dbs.TableDefs!Patients > Set idx = tdf.CreateIndex("PatientIDIndex") > Set fld1 = idx.CreateField("OpNoteID") > > Any ideas? > > Thanks in advance, > Max > > >
- Previous message: Kevin Yu [MSFT]: "Re: VB error with access Help"
- In reply to: Max: "CreateField error"
- Next in thread: Max: "Re: CreateField error"
- Reply: Max: "Re: CreateField error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|