Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231
    Solved it. I added the three new fields while in the sql statement design window, which it successfully saves my additions. But then I go into the view code, and from the left hand side project window, I select the form in questions. Below the form name are the same attributes that you see in the properties window. I copy the sql statement from there and save it to a text file.

    I then go back to the form design window and add my three fields. Right after this I check the form properties data tab and yes, the sql statement is corrupted again. But I take the sql statement that I've save and copy and paste it over the frm sql statment from the far left hand side while viewing the code, then I paste this sql statement back and this solves the problem.....!!!



    What the heck man...... What a work around..... but at least it's solved.

    CementCarver

  2. #17
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231
    Solved it. I just added the three new fields to the form's sql statement and then went to tehe project window for the form's sql statement and saved this string to a text file. Appended the form with the three new fields and then reviewed the record source again, and it has been corrupted again. Copied and pasted the string I save back over top of the sql statement in the vb project window and this solved the corrupted recordsource.

    CementCarver

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Change the record source on my form
    By BigMac4 in forum Forms
    Replies: 4
    Last Post: 09-19-2012, 12:36 PM
  2. Record source in form not updating
    By sephiroth2906 in forum Forms
    Replies: 3
    Last Post: 01-27-2012, 03:16 PM
  3. Form Record Source - Best practices.
    By ser01 in forum Forms
    Replies: 1
    Last Post: 06-11-2011, 11:32 AM
  4. Resetting Record Source on Form
    By Cheshire101 in forum Programming
    Replies: 5
    Last Post: 05-05-2011, 08:52 AM
  5. Changing the record source in a form
    By lmichaud in forum Forms
    Replies: 1
    Last Post: 07-09-2006, 09:20 AM

Tags for this Thread

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