Results 1 to 4 of 4
  1. #1
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Question Editing in Form Controls

    hi experts,



    i have total 15 controls text box and combo box on my form.
    i want to know in which control user edit data and i want to insert only edited controls data in other table. how can i write insert query?

  2. #2
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Smile

    hi experts

    can any one guide?

  3. #3
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Edited in Form Controls

    hi experts,

    i have total 15 controls text box and combo box on my form.
    i want to know in which control user edit data and i want to insert only edited controls data in other table. how can i write insert query?

  4. #4
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    You are confusing readers by using the word INSERT with edits. Insert applies to new records only. Edited records are saved via UPDATE statement. You have to check the On Dirty event of each control and add its sql code segment to your query. But mind you, the code you are going to end up writing is just not worth the effort; you are far better off writing the full update sql.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form for editing data
    By parad1se in forum Forms
    Replies: 1
    Last Post: 01-23-2011, 10:36 AM
  2. Replies: 2
    Last Post: 04-12-2010, 01:03 PM
  3. Replies: 1
    Last Post: 03-13-2010, 12:32 PM
  4. Replies: 0
    Last Post: 10-16-2008, 02:39 PM
  5. Form for Editing Only
    By Schwagr in forum Forms
    Replies: 4
    Last Post: 03-24-2006, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums