Tip of the Month (July 2007)
Populating the Northwinds Mobile Traders Database
Visual CE comes with a sample order entry application called Northwind Mobile Traders (on your handheld, START | PROGRAMS | NORTHWIND MOBILE TRADERS). This is a mobile
rendition of the Northwind Traders database that comes with Microsft Access.
In order to use this sample, you need some data and the easiest way to populate this data is to use the Visual CE synchronizer. To do this:
- Dowload the data by clicking here.
- Put the downloaded NWIND.MDB in the root of the C: drive on your desktop machine.
- Run Visual CE on your desktop machine
- Select FILE | SYNCHRONIZE. Set "Desktop Datasource" to "MS Access Database". Set "Desktop Database" to C:\NWIND.MDB. Press the CLOSE button
- Use Visual CE's FILE | DELETE TABLE to remove the following tables from your handheld (if they are there):
- Customers
- Orders
- Order Details
- Products
- Categories
- Employees
- Shippers
- Suppliers
- Close Visual CE
- In a text editor (such as notepad), open up the WCEODBC.INI file you downloaded in step (1), select all the text, and copy it to the clipboard.
- Still in notepad, open a file called WCEODBC.INI that is in your windows folder and paste the clipboard contents to the end of the file. Save the modified WCEODBC.INI file and close notepad.
- Open up Visual CE on the desktop again. Select FILE | SYNCHRONIZE and press the GO button.
When the synchronizer completes, the Northwind Mobile Traders tables in the handheld will be created and populated with data. To start the application on the handheld, select START | PROGRAMS | NORTHWIND MOBILE TRADERS.
Previous Tips of the Month