Results 1 to 3 of 3
  1. #1
    JeffGrant is offline Novice
    Windows 7 64bit Office 365
    Join Date
    Oct 2021
    Posts
    9

    Can't save change of Data Type.

    Hi All,

    Today I wanted to change a data type from Short Text to Date/Time as it is a link field to another table.

    Unfortunately Access is throwing up the error that I can't save the file, not enough memory or disk space.

    A Dr Google search suggested change the win MaxLocksPerFile registry entry to something more than 9500. I changed it to 10000, but it made no difference.

    Is the number of 10000 too small or is this not the right solution?



    At the end of the day, I need to change the data type so I can link the two tables.

    All suggestions are gratefully received.

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,939
    Is the number of 10000 too small or is this not the right solution?
    suggest use 20000 or 30000, perhaps more

    An alternative way which does not involve messing with the registry is to create a new field and have a query to update it with the date text from the original field - something like

    UPDATE myTable
    SET newdatefield=cDate(oldTextfield)

    then you can delete the old field and rename the new field

  3. #3
    JeffGrant is offline Novice
    Windows 7 64bit Office 365
    Join Date
    Oct 2021
    Posts
    9
    Thanks Ajax. Worked a treat. cheers.

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

Similar Threads

  1. Change Field Data Type
    By DubCap01 in forum Programming
    Replies: 11
    Last Post: 02-07-2017, 08:08 AM
  2. How Do I Change Data Type
    By LeadTechIG in forum Database Design
    Replies: 9
    Last Post: 01-07-2015, 03:05 PM
  3. While Importing Change in data type
    By drunkenneo in forum Import/Export Data
    Replies: 1
    Last Post: 09-01-2014, 06:49 AM
  4. change data type for multiple fields
    By axg275 in forum Access
    Replies: 1
    Last Post: 03-11-2014, 09:31 AM
  5. Change Percentage Data Type
    By jo8701 in forum Access
    Replies: 1
    Last Post: 02-08-2012, 07:15 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