A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Does Access store data in fix lenght or variable length records?



 
 
Thread Tools Display Modes
  #1  
Old January 10th, 2010, 07:42 AM posted to microsoft.public.access.tablesdbdesign
Dennis
external usenet poster
 
Posts: 1,222
Default Does Access store data in fix lenght or variable length records?

Hi,

This is just for my own education and curiosity. Does anyone know if Access
stores it's data records in a fixed length or variable length records / rows?

I realize that the answer is some what immaterial as it works the way it
does, but as I said I would like to know for my own knowledge.

--
Dennis
  #2  
Old January 10th, 2010, 08:02 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Does Access store data in fix lenght or variable length records?

Text fields are variable, i.e. disk storage used in any given record depends
on the number of characters actually present in the field, not the maximum
number of characters defined for the field.

Numeric fields (long, integer, byte, currency, single, float) are fixed
width (the number of bytes for the type.)

The Attributes property of the Field in the TableDef will tell you if it's
variable width or not, e.g.:
? (Currentdb.TableDefs("MyTable").Fields("MyField"). Attributes AND
dbVariableField)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Dennis" wrote in message
...
Hi,

This is just for my own education and curiosity. Does anyone know if
Access
stores it's data records in a fixed length or variable length records /
rows?

I realize that the answer is some what immaterial as it works the way it
does, but as I said I would like to know for my own knowledge.

--
Dennis


  #3  
Old January 11th, 2010, 09:01 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Does Access store data in fix lenght or variable length records?

Dennis

This newsgroup is manned (and "womaned") by volunteers.

If you don't get an immediate response, it may be that:
* everyone is busy helping other customers
* nobody is home
* no one knows the answer

There's no need to post the same question repeatedly ... sooner or later
someone will notice it and offer an answer.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Dennis" wrote in message
...
Hi,

This is just for my own education and curiosity. Does anyone know if
Access
stores it's data records in a fixed length or variable length records /
rows?

I realize that the answer is some what immaterial as it works the way it
does, but as I said I would like to know for my own knowledge.

--
Dennis



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.