Avatar billede florint Nybegynder
13. december 2003 - 12:42 Der er 6 kommentarer og
2 løsninger

Felt type

Hej
Jeg sidder med en database og kigger på felt typer.
Kan en eller anden hjælpe mig med at "Oversætte" disse til hvad de betyder ?

integer =
small i =
float =
string = tekst
boolean =
auto in = autonummerering
date = dato
fmt mem = notat

På forhånd tak
Avatar billede terry Ekspert
13. december 2003 - 12:49 #1
I am VERY sure you can find this in Access help!
Avatar billede killer_r Nybegynder
13. december 2003 - 12:52 #2
boolean = sand/falsk
integer = heltal
small i = lille integer (skulle jeg mene...)
Avatar billede terry Ekspert
13. december 2003 - 12:52 #3
and not all are Access data types!
Avatar billede terry Ekspert
13. december 2003 - 12:54 #4
Access data types

Text (Default) Text or combinations of text and numbers, as well as numbers that don't require calculations, such as phone numbers. Up to 255 characters or the length set by the FieldSize property, whichever is less. Microsoft Access does not reserve space for unused portions of a text field.
Memo Lengthy text or combinations of text and numbers. Up to 65,535 characters. (If the Memo field is manipulated through DAO and only text and numbers [not binary data] will be stored in it, then the size of the Memo field is limited by the size of the database.)
Number Numeric data used in mathematical calculations. For more information on how to set the specific Number type, see the FieldSize property topic. 1, 2, 4, or 8 bytes (16 bytes if the FieldSize property is set to Replication ID).
Date/Time Date and time values for the years 100 through 9999. 8 bytes.
Currency Currency values and numeric data used in mathematical calculations involving data with one to four decimal places. Accurate to 15 digits on the left side of the decimal separator and to 4 digits on the right side. 8 bytes.
AutoNumber A unique sequential (incremented by 1) number or random number assigned by Microsoft Access whenever a new record is added to a table. AutoNumber fields can't be updated. For more information, see the NewValues property topic. 4 bytes (16 bytes if the FieldSize property is set to Replication ID).
Yes/No Yes and No values and fields that contain only one of two values (Yes/No, True/False, or On/Off). 1 bit.
OLE Object An object (such as a Microsoft Excel spreadsheet, a Microsoft Word document, graphics, sounds, or other binary data) linked to or embedded in a Microsoft Access table. Up to 1 gigabyte (limited by available disk space)
Hyperlink Text or combinations of text and numbers stored as text and used as a hyperlink address. A hyperlink address can have up to three parts:
text to display — the text that appears in a field or control.

address — the path to a file (UNC path) or page (URL).

subaddress — a location within the file or page.

screentip — the text displayed as a tooltip.

The easiest way to insert a hyperlink address in a field or control is to click Hyperlink on the Insert menu.
Each part of the three parts of a Hyperlink data type can contain up to 2048 characters.
Lookup Wizard Creates a field that allows you to choose a value from another table or from a list of values by using a list box or combo box. Clicking this option starts the Lookup Wizard, which creates a Lookup field. After you complete the wizard, Microsoft Access sets the data type based on the values selected in the wizard. The same size as the primary key field used to perform the lookup, typically 4 bytes.
Avatar billede terry Ekspert
13. december 2003 - 12:57 #5
Text, memo, number, date/time, Currency, autonumber, Yes/No, OLE object, Hyperlink and Lookup wizard.


Number fields depend on the fields size!

Byte Stores numbers from 0 to 255 (no fractions). None 1 byte
Decimal Stores numbers from –10^38–1 through 10^38–1 (.adp)
Stores numbers from –10^28–1 through 10^28–1 (.mdb) 28 12bytes
Integer Stores numbers from –32,768 to 32,767 (no fractions). None 2 bytes
Long Integer (Default) Stores numbers from –2,147,483,648 to 2,147,483,647 (no fractions). None 4 bytes
Single Stores numbers from
–3.402823E38 to –1.401298E–45
for negative values and from
1.401298E–45 to 3.402823E38 for positive values. 7 4 bytes
Double Stores numbers from
–1.79769313486231E308 to
–4.94065645841247E–324
for negative values and from
4.94065645841247E–324 to
1.79769313486231E308 for positive values. 15 8 bytes
Replication ID Globally unique identifier (GUID) N/A 16 bytes
Avatar billede terry Ekspert
13. december 2003 - 12:59 #6
so there is NOT a small int or float data type, or string for that matter, it is text (max 255 characters)
Avatar billede florint Nybegynder
13. december 2003 - 13:12 #7
Hej Terry,
Du har ret i at jeg kan finde det meste i Access hjælpen - jeg tror du kan sige det var lidt "dovenskab" og så fordi jeg lige sad med det....sorry !

Small integer er ikke en access type men en type der bruges i eks. paradox og betyder som navnet antyder en lille integer (max 8 karakterer) integer ubegrænset.

Men tak for hjælpen begge.

Hav en fortsat god dag
Avatar billede terry Ekspert
13. december 2003 - 13:21 #8
selv tak, og god weekend
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester