|
-
March 15th, 2001, 09:29 AM
#1
I try to use "AppendDeleteField" but I received this error -> Sub or Function not defined <-
This is my code.. And When I execute this code I received the error "Sub or Function not defined" Why?
Dim dbsDonnee As Database
Dim tdfTable1 As TableDef
'Dim fldLoop As Field
Set dbsDonnee = OpenDatabase("C:\Test.mdb")
Set tdfTable1 = dbsDonnee.TableDefs!Table1
' Add three new fields.
AppendDeleteField tdfTable1, "APPEND", _
"E-mail", dbText, 50
AppendDeleteField tdfTable1, "APPEND", _
"Http", dbText, 80
AppendDeleteField tdfTable1, "APPEND", _
"Quota", dbInteger, 5
dbsDonnee.Close
Thanks
Redg
-
March 15th, 2001, 09:39 AM
#2
Re: I try to use "AppendDeleteField" but I received this error -> Sub or Function not defined <
1.First of all try to find the place where you get this error message
2.Did you include all the references
3.Change the line
Dim dbsDonnee As Database
to
Dim dbsDonnee As DAO.Database
Iouri Boutchkine
[email protected]
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
|