To see that your XML data successfully imports, you have to
increase the cell height of the table cells so that you can see the data. CRLF causes a
blank line above the data. To see the data, follow these steps:
In your table, click one of the cells.
Click and hold the line under the arrow on the left of the
table. Then, drag down to increase the row height. Note All data in the table appears.
Click File, click Save, type
States2.xml, and then click
Save.
Close Notepad.
Access 2003
Start Access 2003.
On the File menu, click New. In
the Task pane, click Blank database, and then
click Create.
Click File, point to Get External
Data, and then click Import.
In the Import dialog box, click the folder in the
Look in box in which you saved the
file in step 3. In the File name box, type
States1.xml, and then click Import.
In the Import XML dialog box, click
OK.
In the Microsoft Office Access box,
click OK.
In the Database window, click Tables in the Objects
pane, and then double-click the States table.
Note The States table opens, and the data
correctly appears.
Click File, point to Get External
Data, and then click Import.
In the Import dialog box, click the folder in the
Look in box in which you saved the
file in step 7. In the File name box, type
States2.xml, and then click
Import.
In the Import XML dialog box, click
OK.
In the Microsoft Office Access box,
click OK.
In the Database window, click Tables in the Objects
pane, and then double-click the States1 table.
Note The States1 table appears to be missing "WA" and
"NY." However, "WA" and
"NY" are there. To see "WA" and
"NY," follow these steps:
In the States1 table, click
WA.
Click and hold the line under the arrow on the left of
the table. Then, drag down to increase the row height.
Note You can now see all the data in the table. "WA" and "NY" have blank
lines above them. Therefore, you cannot see them unless you increase the row
height.
If you open either States1.xml or States2.xml by using Windows
Internet Explorer, the data correctly appears.
Access 2007
Start Access 2007.
Click the Microsoft Office Button, click New, and then click Create to create a new blank database.
Click the External Data tab, and then click XML File in the Import group.
Click Browse, locate States1.xml, click Open, and then click OK.
Click OK in the Import XML dialog box, and then click Close.
Repeat steps 3-5 to import States2.xml.
Double-click the States1 table in the left pane.
Note The States1 table appears to be missing "WA" and
"NY." However, "WA" and
"NY" are there. To see "WA" and
"NY," follow these steps:
In the States1 table, click
WA.
Click and hold the line under the arrow on the left of
the table. Then, drag down to increase the row height.
Note You can now see all the data in the table. "WA" and "NY" have blank
lines above them. Therefore, you cannot see them unless you increase the row
height.
If you open either States1.xml or States2.xml by using Internet Explorer, the data correctly appears.