Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default CopyFromRecordset method

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default CopyFromRecordset method

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL CopyFromRecordset Bret Excel Programming 2 July 23rd 06 06:56 AM
Alternative to QueryTables.Add method or Range.CopyFromRecordset??? [email protected] Excel Programming 1 May 27th 05 04:26 PM
CopyFromRecordset method poppy Excel Programming 0 September 28th 04 09:49 AM
CopyFromRecordset method poppy Excel Programming 0 September 8th 04 07:10 AM
CopyFromRecordset does nothing Hafeez Excel Programming 2 August 13th 04 07:20 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"