PC Review


Reply
Thread Tools Rate Thread

Export in cvs format

 
 
Luciano
Guest
Posts: n/a
 
      6th Jun 2010
Hi
I already do export some reports en queries in to an
..xls/rtf/tst/pdf-format. But my webmaster want it exported in cvs format. Is
this possible?
--
Luc Ringoir
Belgium
 
Reply With Quote
 
 
 
 
Jörn Bosse
Guest
Posts: n/a
 
      6th Jun 2010
Am 06.06.2010 09:09, schrieb Luciano:
> Hi
> I already do export some reports en queries in to an
> .xls/rtf/tst/pdf-format. But my webmaster want it exported in cvs format. Is
> this possible?


Hi there,

thats possible. When you´re about to start a manual export you only have
to choose the right format and setup an export specification. The you
can use this all the time.

Regards,
Jörn
 
Reply With Quote
 
 
 
 
Steve Hayes
Guest
Posts: n/a
 
      6th Jun 2010
On Sun, 6 Jun 2010 00:09:21 -0700, Luciano <(E-Mail Removed)>
wrote:

>Hi
>I already do export some reports en queries in to an
>.xls/rtf/tst/pdf-format. But my webmaster want it exported in cvs format. Is
>this possible?


What is cvs format?

Or is it a typo for csv format?


--
Steve Hayes from Tshwane, South Africa
Web: http://hayesfam.bravehost.com/stevesig.htm
Blog: http://methodius.blogspot.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk
 
Reply With Quote
 
Luc BalloonPlanning
Guest
Posts: n/a
 
      6th Jun 2010

HI Jörn
I export my reports (queries) in Excel via a procedure somthing like this:

Public Sub LastMinutesExport()
On Error GoTo LastMinutesExport
Dim strqryLastMinutesExport As String
Select Case strLanguage
Case "N" 'Netherlands
strqryLastMinutesExport = "qryLastMinutesPlusTariefN"
Case "F" 'France
strqryLastMinutesExport = "qryLastMinutesPlusTariefF"
Case "D" 'Deutch
strqryLastMinutesExport = "qryLastMinutesPlusTariefD"
Case Else 'English
strqryLastMinutesExport = "qryLastMinutesPlusTariefE"
End Select
DoCmd.OutputTo acOutputQuery, strqryLastMinutesExport,
"MicrosoftExcel5.0/95Workbook(*.xls)", strMapXLS, False, "", 0,
acExportQualityPrint
LastMinutesExport:
Exit Sub
LastMinutesExport_Err:
MsgBox "ErrorLastMinutesExport"
Resume LastMinutesExport
End Sub

Perhaps there is a simular way to do just the same export, but not is .xls
but in .cvs format?
(cvs: seperator of the fields is de semicolon (,) and end of a record is the
CarriageReturn)

"Jörn Bosse" wrote:

> Am 06.06.2010 09:09, schrieb Luciano:
> > Hi
> > I already do export some reports en queries in to an
> > .xls/rtf/tst/pdf-format. But my webmaster want it exported in cvs format. Is
> > this possible?

>
> Hi there,
>
> thats possible. When you´re about to start a manual export you only have
> to choose the right format and setup an export specification. The you
> can use this all the time.
>
> Regards,
> Jörn
> .
>

 
Reply With Quote
 
Jörn Bosse
Guest
Posts: n/a
 
      6th Jun 2010
Hey,

well first you have to create a manual export and save this export
secification. I bet you mean csv-format and not cvs-format.
If you want to user your code, you have to change the exportformat to
csv and use this exportspecification. If you want to export this file
you have to use the TransferText-method.

http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

Regards
Jörn


Am 06.06.2010 17:01, schrieb Luc BalloonPlanning:
>
> HI Jörn
> I export my reports (queries) in Excel via a procedure somthing like this:
>
> Public Sub LastMinutesExport()
> On Error GoTo LastMinutesExport
> Dim strqryLastMinutesExport As String
> Select Case strLanguage
> Case "N" 'Netherlands
> strqryLastMinutesExport = "qryLastMinutesPlusTariefN"
> Case "F" 'France
> strqryLastMinutesExport = "qryLastMinutesPlusTariefF"
> Case "D" 'Deutch
> strqryLastMinutesExport = "qryLastMinutesPlusTariefD"
> Case Else 'English
> strqryLastMinutesExport = "qryLastMinutesPlusTariefE"
> End Select
> DoCmd.OutputTo acOutputQuery, strqryLastMinutesExport,
> "MicrosoftExcel5.0/95Workbook(*.xls)", strMapXLS, False, "", 0,
> acExportQualityPrint
> LastMinutesExport:
> Exit Sub
> LastMinutesExport_Err:
> MsgBox "ErrorLastMinutesExport"
> Resume LastMinutesExport
> End Sub
>
> Perhaps there is a simular way to do just the same export, but not is .xls
> but in .cvs format?
> (cvs: seperator of the fields is de semicolon (,) and end of a record is the
> CarriageReturn)
>
> "Jörn Bosse" wrote:
>
>> Am 06.06.2010 09:09, schrieb Luciano:
>>> Hi
>>> I already do export some reports en queries in to an
>>> .xls/rtf/tst/pdf-format. But my webmaster want it exported in cvs format. Is
>>> this possible?

>>
>> Hi there,
>>
>> thats possible. When you´re about to start a manual export you only have
>> to choose the right format and setup an export specification. The you
>> can use this all the time.
>>
>> Regards,
>> Jörn
>> .
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export From Access 2003 to CVS file format Heather Microsoft Access External Data 3 14th Aug 2008 02:08 PM
Date format from excel to CVS file wont. Change in CVS wont stay. =?Utf-8?B?RmlzaCcncyBNZXJtYWlk?= Microsoft Excel Worksheet Functions 1 14th Oct 2006 12:28 AM
user-defined fields do not export from contacts to a *.cvs file =?Utf-8?B?U3RldmU=?= Microsoft Outlook Contacts 4 26th Apr 2006 08:21 PM
cant change outlook into cvs files for export. no file HAVE 2 DIS =?Utf-8?B?U0xBVFM3Mg==?= Microsoft Outlook Contacts 1 3rd Mar 2006 11:00 AM
export a non defined table as txt or cvs by VBA =?Utf-8?B?c25hZ2d5Xl4=?= Microsoft Excel Programming 4 22nd Jan 2006 03:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 AM.