Results 1 to 4 of 4

Thread: Vb6 Insert Event Access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Vb6 Insert Event Access

    Hi guys, this is my problem. I want that when i insert a record throught VB6 code,the event Afterinsert of the form fired. The problem is the SQL query INSERT INTO [table] but i can't not make it insert on a form so the event can't be fired.

  2. #2
    Frenzied Member PilgrimPete's Avatar
    Join Date
    Feb 2002
    Posts
    1,313

    Re: Vb6 Insert Event Access

    Hi Vntalk.
    Could you explain what you want to achieve - and possibly why - it would help us to help you.

    VB forms don't have an AfterInsert event like Access does for example. Are you using a data control and bound controls?
    Could you wire your update to a 'Save' button?

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Vb6 Insert Event Access

    Is this VB6 or Access VBA?

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Re: Vb6 Insert Event Access

    Insert a recorset from VB6 to Access Form. Yup Access Form And Not Access Table.

    I want the Access Form Event To Do Something After A Record Is Inserted

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