Microsoft
Software
Hardware
Network
Question : method or data member not found
Sorry guys i had a problem, if i compile my Vb code its giving me a message "method or data member not found, the code is use to autofill the fields in the form
this is the code i try to compile and i dont know where is the problem
Option Compare Database
Private Sub BNo_AfterUpdate()
Me!Name = Me.BNo.Column(1)
Me!ConPos = Me.BNo.Column(2)
Me!PPos = Me.BNo.Column(3)
Me!TGC = Me.BNo.Column(4)
Me!TSG = Me.BNo.Column(5)
Me!Resp = Me.BNo.Column(6)
Me!Nat = Me.BNo.Column(7)
Me!Dept = Me.BNo.Column(8)
Me!CCode = Me.BNo.Column(9)
Me.BNo.Requery
End Sub
do i need to add some codes here or remove?
Thanks
Answer : method or data member not found
change this
Me!Name = Me.BNo.Column(1)
to
Me.[Name] = Me.BNo.Column(1)
name is a reserved word in access and jet. you should avoid using this reserved word as field names or name of controls.
Random Solutions
How to test 2CheckOut.com
Error in Data Driven Subscription
Code or Advice on how to use Excel Autofilter on a Protected document
I is it possible to fix a corrupted .dat file?
Monitor in real time the IIS activity!
How to integrate blog posts from your blog into a main index page of a website w/o an Iframe?
Stored Procedure - DTS call
Recommendations for Internet-based Remote Desktop Solutions
Domino API - Need to get document Author
[Servlet Error]-[LocalTransaction rolled-back due to setRollbackOnly]: com.ibm.ws.LocalTransactio<wbr />n.Rolledba<wbr />ckExceptio<wbr />n