Welcome to Clarion Community Sign in | Join | Faq

Clarion 6 - General

Started by dEraCh2000 at 07-16-2008 3:03 AM. Topic has 2 replies.

Print Search
Sort Posts:    
   07-16-2008, 3:03 AM
dEraCh2000 is not online. Last active: 10/14/2008 4:49:41 PM dEraCh2000



Top 50 Posts
Joined on 04-30-2008
Sarajevo, B&H
Posts 11
MSSQL datetime column
Reply Quote

Hello,

Is there a way to read in a browse only the time portion of the datetime column, since it's defined as a time @t7 column in the dictionary....

Regards


   Report 
   07-18-2008, 11:59 PM
Shankar is not online. Last active: 11/14/2008 4:04:22 PM Shankar

Top 10 Posts
Joined on 10-24-2005
Dubai, UAE
Posts 219
Re: MSSQL datetime column
Reply Quote
Hi!

If you have defined the DateTime column in the dictionary the proper way i.e.

DateTimeColumn     STRING(8),NAME('DateTime')
DateTimeGroup      GROUP,OVER(DateTimeColumn)
DateColumn           DATE
Time
Column           TIME
                   END

there should NO problem displaying only TimeColumn in the Browse. However, if you try to sort the data on that column it will always sort by Date/Time.



Regards

Shankar
   Report 
   07-19-2008, 8:43 AM
dEraCh2000 is not online. Last active: 10/14/2008 4:49:41 PM dEraCh2000



Top 50 Posts
Joined on 04-30-2008
Sarajevo, B&H
Posts 11
Re: MSSQL datetime column
Reply Quote

Hi,

I'v managed to get the time out of the datetime column yesterday. I imported the table from the database and I got the right definition in the dictionary, just like you posted. There is no problem if it sorts  by Date/Time since I an using this to mark the time of any actions taken by the application user.

Thanks for the reply

Kind regards   


   Report 
Clarion Communi... » Clarion » Clarion 6 - Gen... » MSSQL datetime column

Powered by Community Server, by Telligent Systems