Results 1 to 3 of 3
  1. #1
    Mattbro is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    100

    Stop access from changing format/value of data entered from a form, into a table.

    Hello,
    I have a database (split into front and backend). Users populate the table using a form on the front end. Recently, it has been pointed out that some of the data entered into one specific textbox is being changed on the table. The data entered is always has a minimum of a letter and number value i.e. "A1", "A2" etc. Upon examining the table, this has changed into numeric values i.e. "1291", "1061", "852"... etc. Looks like it is translating them into both 3 and 4 digit numerical values by the looks of things. Where more complex data is entered such as "2(A1, A2)" these seem unaffected.

    The field is set to text, I have set no validation rule, format or input mask. Just can't see why access is changing these values. It seems to be translating them, but I can't see a pattern. Does anyone have an idea what is happening here?
    Many thanks,


    Mattbro

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Are you using a bound or unbound form? If you're using an unbound form the procedure appending the records to your table may be in error (looking at the wrong field on your form). This happens mostly when you're attempting to perform an operation on a date field (dates handled as text or numbers by accident). If that fails can you provide a sample of your database (make a copy of your db, strip out any confidential information, compact/repair and upload a zipped file of it to this site) and I can take a look.

  3. #3
    Mattbro is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    100
    Ah-yes I think I see. Looking at your post, I have gone back to the form, looked at the textbox properties and noticed that the data row source has changed. This would account for it, but it is odd that this has suddenly happened-access doesn't tend to corrupt, does it? Perhaps I should lock the properties of the form to ensure noboby has been 'playing with it'! THanks for your help,
    Mattbro

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

Similar Threads

  1. Replies: 97
    Last Post: 05-24-2012, 02:10 AM
  2. Replies: 3
    Last Post: 04-11-2012, 05:10 PM
  3. Replies: 7
    Last Post: 01-29-2012, 07:44 AM
  4. Replies: 2
    Last Post: 10-13-2011, 08:45 AM
  5. Stop Access Changing My Data
    By R3mix3r in forum Access
    Replies: 5
    Last Post: 09-11-2011, 10:33 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