Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transfer data from MS Access to MS Word Table

Status
Not open for further replies.

201Wal

Technical User
Jul 25, 2010
3
ZA
Hello
I’ve managed to transfer data from MS Access to MS Word Table. I now can transfer the Franchisees Info, Shop info and Phone (MSISDN) info. I recorded a macro that selects the MSISDN and converts it to a nested table and then copies the nested table and rePastes it and then merge to the existing table.

The trouble I have now is:

1. Handling Null Values in my recordset so that ant Null values can be converted to zero Length string (“”). I tried the NZ() function but it does not seem to work. I’m probably doing it all wrong.

2. Counting the Number of records transferred so that I can

a. Select the correct number of records to convert into a nested table as above.

b. Limit the records for the table to 10. On the Final CSTO Agreement Schedule Template, if a Franchisee operates more than 10 phones in a shop, the norm is to duplicate the shop’s details on another table and insert the excess phones there.

3. How do I insert information for a second shop? Assuming a customer is operating two or more shops. Here I believe I need to change the cboSites Combo Box on frmFilterComboBox to a Multi-Select List Box allowing me to select more than one or All sites. I’m not sure how to do that though.

Any assistance will be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top