Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Date format for sorting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Date format for sorting

 Post Reply Post Reply
Author
Message
DavidSpain View Drop Down
Newbie
Newbie


Joined: 18 March 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote DavidSpain Quote  Post ReplyReply Direct Link To This Post Topic: Date format for sorting
    Posted: 14 April 2009 at 6:04am
Dear friends,

We have a problem when passing data type date. The programming environment in which we work is not Visual Basic. Therefore, it is not 100% compatible with the data types of Visual Basic.

The problem is the compatibility with the Variant type. When passing data to the Report Control, interprets it as text and not as a date. We know this because the cell formatting, or does not interpret the format.

The question is: Is it possible after passing the data as text, change the data type to date?


Thank you very much in advance!
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2009 at 4:47am
Hi,
 
If you would assign value like this:  rec.AddItem(CDate("15-4-2009"))
 
I don't know what language you use... but somekind of Date type should not be a problem...
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2009 at 5:12pm
Use specific report record item type and it will propely sorted - not as simple string
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.187 seconds.