Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Programming / November 2006

Tip: Looking for answers? Try searching our database.

opening merge data source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rbyteme - 24 Nov 2006 22:25 GMT
I am trying to get the OpenDataSource method to work and cannot seem to get
correct connection string. Connection is to comma-delimited text file with
headers, obviously doesn't use standard ADO connection strings, which are
only ones I know. pub doc is already set up for merge but location of data
file can change -- its being opened via Access code which knows location. I
tried using string returned from reading connection property but didn't work,
or I may be missing or using incorrect parameter for bstrDataSource, or
missing other parameter. Using 2002.

would it be easier if i used connection to mdb instead? i didn't want to go
there as filters will be required, planned to just dump needed records into
default .txt file.

Thank you to anyone who can help.
Susanne Wenzel - 26 Nov 2006 09:08 GMT
Am Fri, 24 Nov 2006 14:25:01 -0800 schrieb rbyteme:

> I am trying to get the OpenDataSource method to work and cannot seem to get
> correct connection string. Connection is to comma-delimited text file with
[quoted text clipped - 4 lines]
> or I may be missing or using incorrect parameter for bstrDataSource, or
> missing other parameter. Using 2002.

Maybe you find something useful here:

http://www.connectionstrings.com/

> would it be easier if i used connection to mdb instead? i didn't want to go
> there as filters will be required, planned to just dump needed records into
> default .txt file.

This may be an option. I think that depends on how much you are familiar
with building the query that delivers you the resultset you need. Something
only you can know.:-)

Did you have a look at this?:

*(den folgenden Link bitte in /eine/ Zeile)*
http://groups.google.de/group/microsoft.public.publisher.programming/browse_frm/
thread/3750a15304858c18/8174f3832345532a?lnk=st&q=%22Susanne+Wenzel%22+publisher
+2006&rnum=1#8174f3832345532a


> Thank you to anyone who can help.

I don't know whether I could, but at least I tried.

Greetings
Susanne
Signature

Mein System:
Office XP, SP3, aktueller Patchstand
Windows 2000, SP4, aktueller Patchstand

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.