-.
@.
B.
1,.
bac"!round. ;ou want to be able to see the labels and the data fields $ery clearly. 'f you don>t li"e the fancier bac"!rounds, choose 1one. ;ou can always chan!e the color of the bac"!round later. #hen clic" on 1e%t. #he ne%t window as"s what title you want for your form and displays the name of the table you used to create it. #his is a form, not a table, so you want to put Form into the name instead of table, and you may also want to call it ?? Data Entry Form. ;ou also ha$e the options to /pen the form or to 6odify the form>s desi!n. Choose 6odify the form>s desi!n and clic" on Finish. #he form will open in desi!n $iew. Clic" on the datasheet icon in the upper left corner of the Access ribbon to loo" at the actual finished form, which will be displayin! the data for 5ecord A1 of your table. #he form will ha$e the ri!ht name, and you can see how the wizard laid out the fields and how much space it allowed for each one. 1ote that a memo field !ets a fairly lar!e bo%, but some of the other fields may not be sized to fit your data. 1ow comes the critical tric" that will let you ma"e chan!es to a form created with the Form .izard. 7old the shift "ey down and clic" on all of the fields on your form. #hen at the top of the ribbon, clic" on the Arran!e tab that is *ust to the ri!ht of the Desi!n tab that you are already on. /n the Arran!e tab, in the Control Cayout section, clic" on the 5E6/DE icon. 'f you do not clic" on remo$e, Access loc"s all the fields to each other and won>t let you mo$e them around. Clic"in! on 5emo$e releases that annoyin! feature and lets you mo$e each field around the way you want to. 'f somehow they mana!e to !et stuc" to!ether, or if you *ust need to wor" with one field, you can clic" on that field to hi!hli!ht it and then clic" on the 5emo$e icon to release it. #he basic principle is that you 4SE the form in Datasheet $iew, but you can 6/D'F; it in Desi!n $iew. ;ou will to!!le bac" and forth to chec" your chan!es and fi% problems.
=.
-.
@.
B.
do not ta"e up much space. 3enerally you would put the 'D fields first and any other really basic stuff that identifies the records in the table. 'f you ha$e a bi!!er te%t field for a title or somethin!, you may want to put it on the row below, and !i$e it enou!h space to fit what you anticipate you>ll need. A te%t field can ha$e up to +<< characters, half that if it is in Fapanese or Chinese. 'f Access did not !i$e you enou!h space when the field was initially assi!ned, you can !o bac" to the #AGCE, in desi!n $iew, and ma"e the field lar!er by usin! the field properties at the bottom of the screen. #he data is actually bein! stored in the table, not the form, so you ha$e to chan!e the table first, and then probably close and re open the form in order for the form part to "now that the size of the field has been increased. A memo field automatically e%pands, so you don>t ha$e to chan!e the table, but you can *ust ma"e the space for the memo field as bi! as you thin" you>ll need. Don>t worry if it does somethin! you don>t want it to do. ;ou can mo$e it a!ain, and if you ha$e deleted somethin! accidentally you can use the re$erse cur$ed arrow at the $ery top of the screen to undo what you *ust did. At some point, you should either clic" on the dis" icon at the $ery top left in order to sa$e the form, or *ust close the form, which will tri!!er Access to as" you if you want to sa$e it. Say yes. Since you created it from a blan", it is now *ust called Form 1, but this is your chan!e to !i$e it a proper name so you can reco!nize it. Ge sure to put F/56 as part of the name. /nce you>$e sa$ed it, the form will appear with its name in the menu list at the left side of the screen under Forms, and when you open it a!ain the name will appear on a file tab at the top of the form. ;ou can chec" the effect of your chan!es at any time, but ' recommend that you SADE first and then switch to Datasheet $iew (usin! the icon abo$e the menu part on the left side of the ribbon) to ensure that the chan!es are recorded. /nce you are in Datasheet $iew, notice that if you clic" in any field, at the $ery bottom of the Access screen on the left, you will see displayed whate$er you put into the Description field when you created the table. 1ow !o bac" to desi!n $iew so you can ma"e further modifications. 'f you created the form from a blan", it has only its details. 't does not ha$e a #itle section at the top of the form and it does not ha$e one of the pretty styles Access pro$ides. a. 'f you switch to the Arran!e #ab, at the far left there is an icon called Autoformat. 't has a drop down arrow that will display the $arious color combinations a$ailable. ;ou can clic" on one and it will add those colors to your form>s fields. #o see the effect, you ha$e to !o bac" to Desi!n or 7ome, and !et bac" into Datasheet $iew. b. #o add a title, !et into Desi!n $iew. Fust below the Desi!n tab you>ll see an icon for addin! a Co!o (which you don>t want unless you want to add an ima!e at the top of the form) and three stac"ed small icons to the ri!ht of Co!o. 'f you ho$er o$er the top one, it says #itle. Clic" on it and instantly your form will ha$e a section at the top called Form 7eader and the name of the form will appear thereH #he other icons are to add a pa!e number or the date and time, and they are more appropriate for reports, so s"ip those. 'f you then close and sa$e the form and open it in form or layout $iew, you can see the title at the top of your form. 't will also still ha$e that little inde% tab at the top, which will be handy later if you ha$e multiple forms open at the same time.
+. 8.
:. <.
#ab /rder so you can use the tab "ey to mo$e throu!h the form. 4sin! the tab "ey ensures that you don>t s"ip important fields on your form. .ith the form open in desi!n $iew and showin! the Desi!n tab at the top of the ribbon, Clic" on the Arran!e tab. 'n the Control Cayout section of the ribbon find the #ab /rder icon and clic" on it. #he #ab /rder menu bo% will appear on top of your form. /n the ri!ht side under Custom /rder you>ll see the list of fields in the order they were put into the form ori!inally. #here is a small bo% to the left of each field. Find a field whose location in the tab order you want to chan!e and clic" to hi!hli!ht it. #hen clic" and hold the mouse in the same bo% and you can dra! the field up or down to where you want it in the list. Gy holdin! down the shift "ey you can hi!hli!ht se$eral conti!uous fields at once, and then if you>re careful, you can clic" and hold to dra! all of them to a different location to!ether. .hen you ha$e finished mo$in! fields around, clic" on /I to confirm your new order and close the window. (Do not clic" on Auto/rder, which will ta"e the list bac" to its ori!inal confi!uration.). #o chec" the new tab order, SADE and then switch to Datasheet Diew. 1ow use the tab "ey and see if it mo$es throu!h the fields in the order you want. 'f not, you can !o bac" and chan!e the tab order a!ain until you are satisfied with it.
<
:.
<. =. -. @. B.
worry if Access puts it in a sli!htly different place, because you already "now how to mo$e thin!s around. 'n addition to puttin! a button on the form, this has opened the Command Gutton .izard, which will wal" you throu!h !ettin! the button to actually perform some action when the user clic"s on it. #he first pa!e as"s you want action you want to happen when the button is pressed. Gy hi!hli!htin! a cate!ory in the left side list under Cate!ories, you can see what Actions are a$ailable for that cate!ory in the ri!ht side list. 'n this case, you want a button for 5ecord /perations, and you want it to Add 1ew 5ecord. Clic" on 1e%t to see the ne%t step in the wizard. 7ere you can choose whether to put te%t on your button or a symbol. 't is less confusin! to ha$e the word on the button, so clic" on #e%t and then on 1e%t. #his time it as"s you to name the button. Fust !i$e it the name of the function it performs, in this case Add 1ew 5ecord Gutton. (#his new name may 1/# appear in the #ab /rder list, but it will appear in other places where you mi!ht need it.) Clic" on Finish and you will see the button now has its proper name. ;ou can dra! it to where$er you want it, then SADE and switch to Datasheet Diew to see what you>$e done and chec" that it wor"s. 'f you put the button at the bottom of the form, it will appear at the end of the #ab /rder list. 7owe$er, if you put more than one button and don>t arran!e them in the order you created them, then you probably will need to !o to the #ab /rder section as described abo$e and fi% the tab order.
+.
8. :. <. =.
-.
@.
records in the sub table and it should be set as an Auto1umber field and mar"ed as the primary "ey. Also add a Se&uence field, set as a number field, so that you can record how many sub table records you are creatin! for each main record. .hen the table is set up properly, sa$e and close it. For a subform you usually want to display thin!s in tabular $iew, which means the names of the fields !o across the top with the data entry place below, and you can display more than one record at a time on the form. #his allows you to enter multiple records on the subform that are lin"ed to the one record that is displayed on the main form. ;ou can do this with the Form .izard. Follow the direction abo$e to use the Form .izard, but when it as"s you what layout you want for the form (step A< abo$e), say #abular instead of Columnar. #hen !o throu!h the rest of the process to create the subform. 1ow name your subform, and be sure to put the word S4GF/56 into the name to a$oid confusion later. Chec" that you want to 6odify the Form, and clic" on Finish to e%ist the wizard and see the new subform in desi!n $iew. #his form will loo" a bit different from the main form. 't will ha$e a row across the top called Form 7eader that !i$es the labels for each field, and then below the bar called Detail, it will ha$e the data bo% for each field. 5emember that in Access +,,-, before you can ma"e any ad*ustments you need to hold down the shift "ey, clic" on all the fields in the form, then clic" on the Arran!e tab, and then clic" on the 5emo$e icon in the Control Cayout section of the ribbon. /nce you do that, you can ad*ust the size of the fields as needed. ;ou can also simplify the name in the label field if you want. (Sometimes it has a lon! name but only needs a little space, such as for a numeric field, so deletin! the unnecessary part of the name lets you shrin" the space it ta"es.) /nce it is on your main form, this subform will e%pand automatically to capture multiple records. Ad*ust the Form Footer so that there isn>t blan" space left at the bottom of the form. ;ou can ad*ust for how many records you want to display at once after you !et it onto the main form. Sa$e the subform and switch to Datasheet $iew to see what it loo"s li"e. 'f you are satisfied with the form, you are now ready to attach it to the 6ain Form. Close the Form, which will return you to the main menu pa!e and you should still be on the Forms part of the menu. Goth the main form and your new SubForm should be listed.
:. 1ow the wizard as"s what fields to lin". 5ead what it has written below the bo%. 'f that is correct, you can ma"e sure it is hi!hli!hted and that 0Choose from a list2 is chec"ed abo$e, and then clic" on 1e%t. (/n the other hand, if you don>t li"e or trust the options Access pro$ided, choose Define my own. #his opens one column for the Form fields and another for the Subform fields, and you can choose the lin"in! field from both lists. ) .hen you>$e established the lin", clic" 1e%t. <. 1ow you !et to name your subform as it will appear on the main form. 't should display the name you already !a$e it, and you can *ust accept that and clic" on Finish. =. #he wizard will close and your subform will appear on your main form. Ad*ust its placement and ma"e sure you can see both the labels and at least one row of the data fields, and that you ha$en>t hidden somethin! behind the subform on your main form. -. #his will ha$e affected the tab order if there is anythin! after the subform, so !o to Arran!eJ#ab /rder and mo$e the combo bo% up to its proper place in the se&uence. #hen Sa$e your form and ta"e a loo" at it in Datasheet $iew.
@. 't as"s you where the bo% will !et its $alues. Clic" on the first option, 0' want the combo bo% to loo" up the $alues in a table or &uery.2 #hen clic" on 1e%t. B. #he ne%t pa!e shows a list of the tables in your database. ;our loo"up tables should be identified with Coo"up in the name. Find the one you want, and clic" on it. Clic" on 1e%t. 1,. #he ne%t pa!e as"s which fields you want in your combo bo%. ;ou need the Code field and the field that !i$es the name of the cate!ory. /nce these are selected, clic" on 1e%t. 11. 1ow you are as"ed how you want the list sorted. Eic" the field to sort, and clic" ascendin! to !et it in alphabetical order. Clic" on 1e%t. 1+. #he ne%t pa!e allows you to ad*ust the width of the bo%. 4sually it has the code field too wide, and the name field too narrow, so fi% those to ma"e the list easy to read. #hen clic" on 1e%t. 18. #he ne%t pa!e as"s you which field has the $alue you want to store. Clic" on the C/DE field, not the name field. #hen clic" on 1e%t. 1:. #he ne%t pa!e as"s you where you want to store the $alue. Clic" on 0Store that $alue in this field2 and then identify the C/DE field in the collection table and clic" on it. #hen clic" on 1e%t. 1<. 1ow you can name the combo bo%. '>d put combo bo% into the name, or loo"up, so you can identify it easily. #hen clic" on Finish. 1=. #he wizard will close and you will see your combo bo% on the form. 'f it is on a subform, it probably is co$erin! up other fields. ('t may be easier to do this if you add some temporary space below the line of data fields, mo$e the label out of the way, and then ad*ust the field with the down arrow. #hen clic" somewhere else on the pa!e and then carefully clic" on the label, use the little bo% in the upper left corner of the label to mo$e it a bit more to ma"e sure it is mo$in! separately from the data bo%, and then delete the label. ;ou may need to !o throu!h the Arran!eJ5emo$e routine to !et the two parts to separate, and then play with it a bit in Desi!n $iew, but you can !et it to wor". #hen sa$e the form and chec" it. 1-. #he tab order may be wron! now, because the new combo bo% will appear at the end of the list. So fi% the tab order, sa$e, and then chec" a!ain.
;ou can fairly &uic"ly copy and paste all of the articles into the database, with Access assi!nin! the 'D number to each record as you proceed. /nce you ha$e that basic information in the database for all your cases, it is much easier to !o bac" and code the rest of the information because the raw data is ri!ht there and thin!s can easily be copied and pasted and other fields can be filled in. #hat also means you are much less li"ely to lose trac" of the data, and it is much easier if you later need to !o bac" and code additional information. 'f you do this at the be!innin! and later find that you>$e copied and pasted and assi!ned 'D numbers to some articles that you do not want to include in your study, you can either delete those records, or add a field to the table that indicates whether you will be usin! a record in the sample. #hen you can easily mar" the records. Fust don>t for!et to use that code to filter the records whene$er you are wor"in! with them, so the irrele$ant ones are left out. :. For any raw or coded data you are storin! on a computer, you need to ma"e bac"up copies. Gurn a copy to a CD, date the CD, and put it somewhere safe. Gurn a new copy periodically if you are doin! any codin! or annotatin! on the computer files. <. For Access databases, you need to create and sa$e bac"up copies re!ularly and "eep them in more than one place. a. For lar!er pro*ects in which there is an Access database on a standalone computer, ' !enerally maintain a set of three zip dis"s and ha$e coders copy the database to a zip dis" at the end of EDE5; codin! session, put the date on that dis", and mo$e it to the bottom of the set. #hat means the three dis"s are bein! rotated and we always ha$e three bac"up copies to protect that last three sessions of wor". b. For your current pro*ect, a simpler solution is to copy the database at the end of each codin! session to a different location, '1 ADD'#'/1 #/ #7E 6A'1 F'CE ;/4 4SE EAC7 #'6E, and put the date into the file name of the copy. ;ou will accumulate a !rowin! set of these bac"up copies, and when you run out of stora!e space, you can delete the oldest ones. Ieep these bac"ups separate from the one wor"in! file that you always open and wor" on (in a different folder, computer or 4SG "ey), so that you don>t !et confused and start wor"in! on the wron! copy. c. As you wor" with an Access database, it !ets bi!!er, but a lot of the e%tra space is wasted. ;ou can periodically use the Compact and 5epair function to clean up the database and you will be amazed at how much smaller it becomes. 'n /ffice +,,- this can be set to happen automatically when you close the database. 'n older $ersions you !enerally need to do it manually. Always ma"e sure you ha$e a copy before you do that, *ust in caseH