Results 1 to 3 of 3
  1. #1
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97

    Forms based on a query doesn't record the infos


    Ok i have a complexe query with 3 tables that link the first with the second using 2nd link type and the second with the third using the 3rd link type

    now everything is fine but only one thing bothers me... sometime.. I enter value in a ... let's say date field ! and when I refresh my form... the date I entered is no longer there... it doesn't record the date... any idea ?

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    most likely you're query cannot be updated. see here for reasons why: http://allenbrowne.com/ser-61.html

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    If you are actually entering the data (as opposed to attempting to - but it won't let you change anything) - then there are 2 overall issues possible:

    1. the data is going in - but the cross referencing field is not - so that when you call up that query again the record is not showing. if this is the case you should be able to look thru this one table itself and find these 'orphan' records. The fix is to be sure to have the cross referencing field also get entered into the record.

    2. your form/record is 'dirty' - this is a term you can look up. it means you are in write mode, there will be a pencil icon to the left of the record when you are in the form. you are leaving the record while in write mode so that it doesn't consider the record completed and does not write the change to the table. the quick and dirty test is to tab thru the entire record or otherwise move focus outside the record to assure the write is done...and see if that works. you can force the write with a me.dirty=false at an appropriate user event or when the form closes or something if this is the issue....

    Hope this helps.

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

Similar Threads

  1. Query based on current record in form
    By bhsvendbo in forum Queries
    Replies: 1
    Last Post: 06-01-2010, 11:20 AM
  2. duplicate record based on calculation
    By Coolpapabell in forum Queries
    Replies: 4
    Last Post: 08-06-2009, 07:53 AM
  3. Select a certain field of a record based on ID
    By cesarone82 in forum Access
    Replies: 3
    Last Post: 06-06-2009, 01:16 PM
  4. Replies: 1
    Last Post: 02-02-2009, 05:52 AM
  5. Need help - Record set based on a program variable
    By ericargent in forum Programming
    Replies: 1
    Last Post: 09-19-2007, 08:57 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