Ignore:
Timestamp:
Mar 7, 2011, 5:59:47 AM (14 years ago)
Author:
Sam Habiel
Message:

CGDocumentManager: Holiday SQL statement relied on Windows Date which is culture specific. Now sent as culture insensitive FM Date for query.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r1098 r1104  
    678678            setProgressDelegate(15);
    679679            setStatusDelegate(statusConst + " Holiday");
    680             sCommandText = "SELECT NAME, DATE FROM HOLIDAY WHERE DATE > '" + DateTime.Today.ToShortDateString() + "'";
     680            sCommandText = "SELECT NAME, DATE FROM HOLIDAY WHERE INTERNAL[DATE] > '" + FMDateTime.Create(DateTime.Today).DateOnly.FMDateString + "'";
    681681            ConnectInfo.RPMSDataTable(sCommandText, "HOLIDAY", m_dsGlobal);
    682682            Debug.Write("LoadingGlobalRecordsets -- Holidays loaded\n");
Note: See TracChangeset for help on using the changeset viewer.