Results 1 to 16 of 16

Thread: [RESOLVED]Data control Runtime Error 3426

Threaded View

  1. #1

    Thread Starter
    Lively Member Hojo's Avatar
    Join Date
    Jul 2005
    Location
    Brisbane, Australia
    Posts
    119

    Resolved [RESOLVED]Data control Runtime Error 3426

    Hello All

    I am trying to setup a small database program for personal use, as i have done many times before. But for some reason i am having trouble getting this one to work.

    I simply have a Data control filling in data bound text or combo boxes with the current selections data. But when i try to move to another selected record by using the


    VB Code:
    1. Dim Item As String
    2.    
    3.     Item = dbcItemNumber.Text
    4.     Data1.Recordset.FindFirst "ItemNumber = '" & Item & "'

    i get an error...

    Runtime Error '3426'
    This action was canceled by an associated object.

    This is frustraing as this is the same code i've used for other programs and they worked and are still working. Also if i get rid of the variable Item and just have

    VB Code:
    1. Data1.Recordset.FindFirst "ItemNumber = 'X001'

    It works.

    Any ideas anyone?
    Last edited by Hojo; May 30th, 2006 at 01:59 AM.
    Despite body and mind, my youth will never die!

    Everytime I learn something new it pushes some old stuff out of my brain!

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