Monday, January 24, 2022

Set the field size

You can adjust the amount of space that each record in an Access table uses by changing the field size property of number fields in the table. You can also change the field size of a field that stores text data, although this action has a smaller effect on the amount of space that is used.

Note: The functionality explained in this article doesn't apply to Access web databases and Access web apps.

In this article

What happens when I change the field size?

You can change the field size of a field that is empty or that already contains data. The effect of changing the field size depends on whether the field already contains data.

  • If the field does not contain data    When you change the field size, the size of new data values is limited for the field. For number fields, the field size determines exactly how much disk space Access uses for each value of the field. For text fields, the field size determines the maximum amount of disk space that Access allows for each value of the field.

  • If the field contains data    When you change the field size, Access truncates all the values in the field that exceed the specified field size, and also limits the size of new data values for the field, as described above.

Change the field size of a number field

Tip: If the field for which you want to change the field size already contains data, consider making a backup of your database before you proceed.

  1. In the Navigation Pane, right-click the table that contains the field that you want to change, and then click Design View.

  2. In the table design grid, select the field for which you want to change the field size.

  3. In the Field Properties pane, on the General tab, enter the new field size in the Field Size property. You can choose from the following values:

    • Byte — For integers that range from 0 to 255. Storage requirement is a single byte.

    • Integer — For integers that range from -32,768 to +32,767. Storage requirement is two bytes.

    • Long Integer — For integers that range from -2,147,483,648 to +2,147,483,647. Storage requirement is four bytes.

      Tip: Use the Long Integer data type when you create a foreign key to relate a field to another table's AutoNumber primary key field.

    • Single — For numeric floating point values that range from -3.4 x 1038 to +3.4 x 1038 and up to seven significant digits. Storage requirement is four bytes.

    • Double — For numeric floating point values that range from -1.797 x 10308 to +1.797 x 10308 and up to 15 significant digits. Storage requirement is eight bytes.

    • Replication ID — For storing a GUID that is required for replication. Storage requirement is 16 bytes.

      Note: Replication is not supported using an .accdb file format.

    • Decimal — For numeric values that range from -9.999... x 1027 to +9.999... x 1027. Storage requirement is 12 bytes.

Change the field size of a text field

Tip: If the field for which you want to change the field size already contains data, consider making a backup of your database before you continue.

  1. In the Navigation Pane, right-click the table that contains the field that you want to change, and then click Design View.

  2. In the table design grid, select the field for which you want to change the field size.

  3. In the Field Properties pane, on the General tab, enter the new field size in the Field Size property. You can enter a value from 1 to 255. This number specifies the maximum number of characters that each value can have. For larger text fields, use the Memo data type (Long Text if using Access 2016).

    Note: For data in a Text field (Short Text if using Access 2016), Access does not reserve space beyond what is necessary to hold actual values. The Field Size property is the maximum field value size.

Top of Page

3 comments:

  1. Hello Everyone,

    Welcome to the future! Financing made easy with Prof. Mrs. DOROTHY LOAN INVESTMENTS

    Have you been looking for financing options for your new business plans, Are you seeking for a loan to expand your existing business, Do you find yourself in a bit of trouble with unpaid bills and you don’t know which way to go or where to turn to? Have you been turned down by your banks? MRS. DOROTHY LOAN INVESTMENTS says YES when your banks say NO. Contact us as we offer financial services at a low and affordable interest rate of 2% for long and short term loans. Interested applicants should contact us for further loan acquisition procedures via profdorothyinvestments@gmail.com

    Services rendered include:

    * Refinancing Loans
    * Car Loan
    * Truck Loans
    * COVID-19 Financing Loan
    * Home Loan
    * Mortgage Loan
    * Debt Consolidation Loan
    * Farm Loan
    * Business Loan [secure and unsecured]
    * Personal Loan [secure and unsecured]
    * Students Loan and so many others.

    For more info; Contact us via Email: profdorothyinvestments@gmail.com

    With Prof. Mrs. DOROTHY LOAN INVESTMENTS. you can say goodbye to all your financial crisis and difficulties as we are certified, trustworthy, reliable, efficient, fast and dynamic

    ReplyDelete
  2. HAVE YOU BEEN SCAMMED OF YOUR COINS AND WANTS TO GET IT RECOVERED BACK???

    I invested a total of$95,000.00USD worth of Bitcoin with an online company who does trading and was guaranteed a payout of 25% a week. They ended up shutting down their company website but their website was still running. So I could still see my dashboard at that time and instead of paying weekly they ended up compounding my money. It ended up compounding to$179, 000USD so I requested for a withdrawal which was declined before they shutdown their website, I complained to my colleague at work who directed me about this recovery expert, Mr. Morris Ray, that helped him, I contacted him immediately, what surprised me most, was that I recovered my money that same week. You can contact him on his email at MorrisGray830 @ Gmail . com and on WhatsApp: + 1 (607) 698-0239 and he will assist you on the steps to recover your invested funds.
    Just trying to help those who where scammed just the way I was too.

    ReplyDelete
  3. I never thought it was possible to recover stolen cryptocurrency due to my past experience trying to recover $228k that was stolen from my usdt w.a.l.l.e.t; until I read an article on this webpage www.thedailychargeback.com , I summited all documents needed to carryout the recovery operation, they successfully recover $205k from what I lost, I advice anyone having problems with lost or stolen cryptocurrency issues to reach to them.

    ReplyDelete