Results 1 to 4 of 4

Thread: Having Runtime Probem....

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    3

    Exclamation Having Runtime Probem....

    Its Showing error as :

    Run-time error 3426

    "This Action Was Cancelled By an Associated Object"

    i just wanna add record in access database... the error is highlited at first line only

    when m using


    Plz help me out.....
    Attached Images Attached Images  

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    3

    Re: Having Runtime Probem....

    Thanks RhinoBull..... i've fixed that error and can u plz tell me.... how many maximum no. of data fields we can take while managing data base with Access.... if m taking 20 fileds then its working properly n if m taking 23 fields then again it showes error like "Run time Error 3265 : Item Not Found In this collection"

    And it highlightes 21st textbox
    i.e
    Data1.Recordset![SAMPLE RESULT DT] = Text21.Text

    if its upto 20 data fields then its working properly

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Having Runtime Probem....

    The error has nomthing to do with number of fields but rather YOU not including "SAMPLE RESULT DT" field in your select statement.
    To resolve this issue make sure that field is included in your selection which is again related to question I asked previously: can you post your actual code?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width