Using Excel to build a regular database

Source: Internet
Author: User

Regular databases are often needed in daily work. These data all have certain rules, this can use Excel to provide some very useful function, let any one of us can easily handle these databases:

First: Open Excel97 (Excel2000 of course), in column a cell 1th fill in "Village name", the 2nd line fill "East Mountain Village", the 19th line fills "The year back Ridge Village" (Note: Dongshan 17 groups, 2+17=19 accordingly calculates), the 28th line fills "The horizontal slope village" (algorithm former, Ngau Pui Ling Village 9 Group: 19+9=28), so as to fill out the 19 village names.

Second: Insert "group" in line 1th of column B, line 2nd, fill in "Group 1th" and press the right mouse button to select "Copy" to copy the three words to the Clipboard, and then click the right mouse button in each row with the name of the village and select "Paste" to fill in the "1th group" there.

Third, with the mouse click to select A2 "East Mountain Village" Cell, and then the mouse cells in the lower right corner (at this point the mouse into a single "ten" font), hold down the mouse drag, dragged over the place will be automatically filled "East mountain village" words. In the same way, other village names and groups can be "dragged" with the mouse. Do not worry when you fill in the group Excel will fill in the category "1th", as long as you do not write "group 1th" as "the first group", Excel will automatically recognize it as a sequence for processing. So when you drag "group 1th", the result is "group 2nd", "group 3rd" ... Fill out these two fields, the other data can continue to fill in Excel, but also in the database after the completion of the software, anyway, labor intensity almost.

IV: Save the file. If you need to build an Access database, leave it and save it in Excel's default. xls format. If you need to build a FoxPro database, save the file in dBASE 4 (. dbf) format.

Fifth: If you need an Access database, you must create a new Access database, and in the "New Table" dialog box, select "Import Table" and select the ". xls" file you just saved in the Import dialog box. What You can't find it?! The default file type for this dialog box is Microsoft Access, as long as you can find it in Microsoft Excel, when you choose to import the file, you just have to pay attention to a "First row contains column headers" check box Tosin play ㄈ curled you don't need an ID field, You can reject when Access recommends the primary key--select ' Don't main '--you can ignore the rest, just press "next" until you're done. You can use or modify the database after the import is complete. If you need a FoxPro database, it's simpler to use the FoxPro to open the ". dbf" file you saved, and you can use it if you want to do something like field width, field data type settings.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.