Results 1 to 2 of 2
  1. #1
    pratim09 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Apr 2011
    Posts
    30

    Form values getting auto updated at back end.

    I have a sub form with multiple records. i double click a record and open it to modify .I have a field called hours in the modification form where there is a check if hrs is > 24 throw a message or else do the moidfication with update statement.Problem is if I give hrs more than 24 and update its giving me the msg but behind in the subform I can see that the record value of hrs is already updated with the increased value. I know closing the form creates some problem like this and so I have disabled the close button in the form and my form has only update button and a close button(which undo the form and closes).



    Plz suggest how I stop this sort of auto updating ...

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    If your data is always going to be less than 24 hours make your field a date/time field and put it in the format you want (short time for instance). That will prevent anything of more than 24 hours being entered.

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

Similar Threads

  1. Replies: 2
    Last Post: 06-21-2011, 10:08 AM
  2. Deleting values after a field is updated
    By mwhcrew in forum Forms
    Replies: 3
    Last Post: 08-16-2010, 02:52 AM
  3. auto link between front db and back db
    By ahmed in forum Programming
    Replies: 3
    Last Post: 08-09-2010, 07:10 AM
  4. Force form not to save updated fields
    By Evgeny in forum Programming
    Replies: 2
    Last Post: 04-30-2010, 10:44 PM
  5. Replies: 1
    Last Post: 10-01-2009, 06:41 AM

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