Korzh.com developer tools forums :: View topic - Problem with SQLDateTimeFormat not being respected
Korzh.com
home : Community forums  FAQFAQ   SearchSearch  |  RegisterRegister  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Problem with SQLDateTimeFormat not being respected

 
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery.AX (Active Query)
View previous topic :: View next topic  
Author Message
cdgidev
Novice


Joined: 25 Feb 2009
Posts: 4

PostPosted: Wed Feb 25, 2009 6:33 pm    Post subject: Problem with SQLDateTimeFormat not being respected Reply with quote

I have problems with the SQL Date time format property. I specify the format as "YYYY-MM-DD hh:mm:ss" in the following code and it is not taken into account, instead it uses the regionnal settings and this messes up my software in different regionnal setting environment not using hypehsn as the seperator.

Code:

  FilterEditor.LoadTitlesFromFile App.Path & "\filtereditor-" & IIf(LanguageProvider.Language = Francais, "fr", "en") & ".ttl"
  FilterEditor.FullTableNameFormat = "TABLE" 'Make sure only table names are generated in the query, exclude DB and Schema
  FilterEditor.OptSelectDistinct = False
  FilterEditor.OptShowCheckBoxes = False
  FilterEditor.OptShowGroupName = True
  FilterEditor.OptSortByNames = True
  FilterEditor.OptStoreDBInfo = False
  FilterEditor.QuoteDate = True
  FilterEditor.QuoteBool = True
  FilterEditor.QuoteSymbol1 = "["
  FilterEditor.QuoteSymbol2 = "]"
  FilterEditor.SaveTitles = False
  FilterEditor.SQLDateTimeFormat = "YYYY-MM-DD hh:mm:ss"
  FilterEditor.SQLDateFormat = "YYYY-MM-DD"
  FilterEditor.SQLTimeFormat = "hh:mm:ss"


Please help me find a workaround...
Back to top
View user's profile Send private message
cdgidev
Novice


Joined: 25 Feb 2009
Posts: 4

PostPosted: Wed Feb 25, 2009 7:27 pm    Post subject: Reply with quote

I think i have found my problem and it has nothing to do with the control in itself...

The problem is within the second form and had a different dattime format. It fixed it at work, sending a copy to my client to see if it fixes it's problems...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery.AX (Active Query) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group