Results 1 to 12 of 12
  1. #1
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6

    memo field truncating data on form

    Hi


    In a 2010 database I have a form with a query as the record source, one of the fields is a memo field. The query is not a union query, has no DISTINCT with the select and has no aggregate functions. There is no formatting on the memo field either. However sometimes when a user opens the form data in the memo field is truncated - other times its not, so they could look at e.g. record 5 one day and see all data in the memo field and on another day on viewing record 5 the data is truncated. This occurs on all machines that use the database.

    The database has user level security and the users who experience this problem have the following permission:
    Table the query pulls data from - read design, read data, update data, insert data
    Query for the form- read design, read data
    Form - Open/run

    This has not so far happened to a user in the Admins group. I am at a loss with this one so am hoping someone else has experienced this and found the solution. Any help much appreciated.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is your db split and do all of the users have their own copy of the FrontEnd?

  3. #3
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6
    Yes, back end on dedicated server and each user with their own front-end.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like you have already reviewed Allen Browne's link here: http://allenbrowne.com/ser-63.html Maybe if you post the SQL for the query someone might see something.

  5. #5
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6
    Yes I did look at Allen Browne's page. Here is the query, it's the memDetailsSummary field that truncates the data:

    SELECT tblCase.lngCaseID, tblCase.txtSARICaseID, tblCase.dtmDateOpened, tblCase.dtmDateClosed, tblCase.lngCRPDistrictID, tblCase.memDetailsSummary, tblCase.lngCaseCategoryID, tblCase.lngSchoolID, tblCase.dtmDateEntered, tblCase.memActionWanted, tblCase.ysnRiskFactors, tblCase.txtRiskFactors, tblCase.txtNoOfIncidents, tblCase.txtIncidentPeriod, tblCase.ysnReportedToPolice, tblCase.txtCrimeReferenceNos, tblCase.lngLocalAuthorityID, tblCase.lngFamilyEthnicityID, tblCase.dtmDateReferralToCSO, tblCase.lngFearHateCrimeIDBefore, tblCase.lngFearHateCrimeIDAfter, tblCase.ysnCaseNotToGoToCRP
    FROM tblCase WHERE (((tblCase.lngCaseID) = 5));

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The SQL looks pretty standard. You're pulling 22 fields. How many fields are actually in the record?

  7. #7
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6
    Thats all of them - I used a query as my users can search for the case they want by either lngCaseID or txtSARICaseID - they make their choice, I re-write the query (only the WHERE clause) with VBA and the form displays the case they selected.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How many characters might you find in that memo field? Have you figured out how many characters it is truncating to?

  9. #9
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6
    Some will have less than 255 some way, way more. Tomorrow I will get one of my users to let me know what the longest entry is in that field. Can't answer the second one yet, no one has been systematic up to this point when the error occurs, but I now have them under strict instructions to copy and paste the contents of the field next time this happens.

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'm pretty much out of ideas at this point. How did you implement User Level Security? Is everyone using ac2010?

  11. #11
    gillianw is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    6
    The database was originally built in 2003 which is where user level security was added (the problem also happened in 2003) - they all then upgraded to 2010 and I came in to convert the database to the new format.

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for the update.

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

Similar Threads

  1. Replies: 2
    Last Post: 09-18-2012, 09:46 AM
  2. Query is Truncating Memo Field
    By Huddle in forum Queries
    Replies: 1
    Last Post: 07-24-2012, 02:24 PM
  3. Replies: 1
    Last Post: 06-12-2012, 01:54 PM
  4. Union query truncating a memo field
    By jpkeller55 in forum Queries
    Replies: 7
    Last Post: 05-27-2011, 02:17 PM
  5. Memo Field Not Keeping Data
    By maintt in forum Forms
    Replies: 1
    Last Post: 08-12-2010, 05:55 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