@@ -104,7 +104,7 @@ public static void DqlAppend()
104104 }
105105 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
106106 {
107- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
107+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
108108 }
109109 else
110110 {
@@ -113,7 +113,7 @@ public static void DqlAppend()
113113 }
114114 }
115115 //replace NULL values with DQL format
116- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
116+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
117117 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
118118 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
119119
@@ -255,10 +255,10 @@ public static void DqlAppendLocked()
255255 {
256256 if ( afterWhere == true )
257257 {
258- whereClause += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
258+ whereClause += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
259259
260260 }
261- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
261+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
262262 }
263263 else
264264 {
@@ -271,7 +271,7 @@ public static void DqlAppendLocked()
271271 }
272272 }
273273 //replace NULL values with DQL format
274- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
274+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
275275 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
276276 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
277277
@@ -390,7 +390,7 @@ public static void DqlCreate()
390390 valuePrefix = "\" SET " + col . Name + " = \" & " ;
391391 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
392392 {
393- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
393+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
394394 }
395395 else
396396 {
@@ -399,7 +399,7 @@ public static void DqlCreate()
399399 }
400400 }
401401 //replace NULL values with DQL format
402- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
402+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
403403 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
404404 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
405405
@@ -533,7 +533,7 @@ public static void DqlTruncateAppend()
533533 }
534534 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
535535 {
536- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
536+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
537537 }
538538 else
539539 {
@@ -542,7 +542,7 @@ public static void DqlTruncateAppend()
542542 }
543543 }
544544 //replace NULL values with DQL format
545- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
545+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
546546 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
547547 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
548548
@@ -678,7 +678,7 @@ public static void DqlUpdate()
678678 }
679679 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
680680 {
681- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
681+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
682682 }
683683 else
684684 {
@@ -687,7 +687,7 @@ public static void DqlUpdate()
687687 }
688688 }
689689 //replace NULL values with DQL format
690- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
690+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
691691 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
692692 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
693693
@@ -829,10 +829,10 @@ public static void DqlUpdateLocked()
829829 {
830830 if ( afterWhere == true )
831831 {
832- whereClause += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
832+ whereClause += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
833833
834834 }
835- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
835+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
836836 }
837837 else
838838 {
@@ -845,7 +845,7 @@ public static void DqlUpdateLocked()
845845 }
846846 }
847847 //replace NULL values with DQL format
848- formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnDateFormatReplace + "'\" , \" 'nulldate'\" )" ;
848+ formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "', '" + Properties . Settings . Default . Table_ColumnFormatDateReplace + "'\" , \" 'nulldate'\" )" ;
849849 formula = "SUBSTITUTE(" + formula + ", \" '" + Properties . Settings . Default . Table_ColumnScriptNull + "'\" , \" nullstring\" )" ;
850850 formula = "SUBSTITUTE(" + formula + ", \" " + Properties . Settings . Default . Table_ColumnScriptNull + "\" , \" nullint\" )" ;
851851
@@ -1724,7 +1724,7 @@ public static void PlSqlUpdateValues()
17241724 }
17251725 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
17261726 {
1727- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
1727+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
17281728 }
17291729 else
17301730 {
@@ -2403,7 +2403,7 @@ public static void TSqlUpdateValues()
24032403 }
24042404 if ( Ribbon . GetSqlDataType ( col ) == Properties . Settings . Default . Column_TypeDate )
24052405 {
2406- formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnDateFormatReplace + qt + ")\" " ;
2406+ formula += valuePrefix + "\" DATE(" + qt + "\" & " + colRef + " & \" " + qt + ", " + qt + Properties . Settings . Default . Table_ColumnFormatDateReplace + qt + ")\" " ;
24072407 }
24082408 else
24092409 {
0 commit comments