Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2005, 09:31 AM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to matpen
Default Edit-add new entry to an acces table from word

I want to display using vba and Word 2003 a list box that reads an access table and allow me to edit or add an address. The table consists of simply 9 columns of address items. I don’t seem to come round to it?
Thanks in advance!
Elie

 
Old January 5th, 2006, 01:38 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Elie,
If u want a window that allow u to edit and add an address, u dont need to
use Word. This task is a default task of Access. Click on the form tab of
the access db and on the form wizard after u have built the address table
using the table wizard on the table tab.
Rgds,
P

 
Old January 5th, 2006, 02:19 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again,
If u want opening a doc on Word and edit-add an address on the doc, i've no
idea if that is possible.
P

 
Old January 5th, 2006, 06:18 PM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to matpen
Default

Hi Penta!
Sorry but it was not very clear the way I formulated it. I have a small VBA program that types an address in a letter using a database made with access. The programm reads the table where the addresses are stored and pops with a list box with all addresses. The user select one of them and the program types it where it should be. The problem is, if it is a new address, then I have to find a way to now edit (with a pop up form) that table and include in it this new address and it should all happen from Word using VBA!

 
Old January 5th, 2006, 06:30 PM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to matpen
Default

Sorry it is me again!
I want to say that it is possible from word to read and edit a table, something I am nearly sure of. the problem is time... I am not where I should be and thought maybe someone could have a quick answer to my little question. In the meantime I solved it all except the question of EDITING the table of access directly from word.
Anyway, thanks for your answer!
Elie






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refrence acces Indexes table method Access 6 July 19th, 2005 05:03 AM
Listbox entry in Database acces 2003 BramuS Classic ASP Databases 15 June 14th, 2005 03:02 PM
How the servlet be able to add the entry into LDAP java_addict Apache Tomcat 0 April 11th, 2005 03:57 PM
how to know who edit or add records? drachx General .NET 1 October 13th, 2004 05:36 AM
how to know who edit add records? drachx SQL Server 2000 9 October 13th, 2004 04:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.