PC Review


Reply
Thread Tools Rate Thread

CopyFromRecordset method

 
 
=?Utf-8?B?R3V5IENvaGVu?=
Guest
Posts: n/a
 
      28th Jun 2007
Hi all,

I use vb6+excel 2k3 + adodb.
I am trying to fill an excel sheet with data from a recordset, by using
CopyFromRecordset.

My problem is that the RS contains a date formatted like date + time and in
the excel sheet I see only the date part

Please advise!!
TIA
Guy


 
Reply With Quote
 
 
 
 
=?Utf-8?B?R3V5IENvaGVu?=
Guest
Posts: n/a
 
      28th Jun 2007
Hi

I tried to format (dd/mm/yyyy hh:mm:ss) the columns after filling the data
and it is ok now...

HTH
Guy



"Guy Cohen" wrote:

> Hi all,
>
> I use vb6+excel 2k3 + adodb.
> I am trying to fill an excel sheet with data from a recordset, by using
> CopyFromRecordset.
>
> My problem is that the RS contains a date formatted like date + time and in
> the excel sheet I see only the date part
>
> Please advise!!
> TIA
> Guy
>
>

 
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
Method 'CopyFromRecordset' error Vsn Microsoft Access Form Coding 4 16th Nov 2009 03:52 AM
Error 430 problem when using CopyFromRecordset method (cont'd) =?Utf-8?B?TWFyaw==?= Microsoft Access 6 15th Aug 2006 04:32 AM
Error 430 using .CopyFromRecordset method =?Utf-8?B?TWFyaw==?= Microsoft Access 2 16th Aug 2005 05:21 PM
CopyFromRecordset method poppy Microsoft Excel Programming 0 28th Sep 2004 09:49 AM
Re: CopyFromRecordset method poppy Microsoft Excel Programming 0 8th Sep 2004 07:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 PM.