Kaydet (Commit) 140d082f authored tarafından Thomas Arnhold's avatar Thomas Arnhold

ErrorBoxes from querydesign to String

Change-Id: I2aa9aa5b0d730c0546e8565d03b9b7d3d051235a
üst 2f46431f
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
// error boxes // error boxes
#define ERR_QRY_CRITERIA_ON_ASTERISK RID_ERRORBOX_START + 2 #define STR_QRY_CRITERIA_ON_ASTERISK RID_ERRORBOX_START + 2
#define ERR_QRY_ORDERBY_ON_ASTERISK RID_ERRORBOX_START + 3 #define STR_QRY_ORDERBY_ON_ASTERISK RID_ERRORBOX_START + 3
#define ERR_NEED_INDEX_FIELDS RID_ERRORBOX_START + 8 #define ERR_NEED_INDEX_FIELDS RID_ERRORBOX_START + 8
// query boxes // query boxes
......
...@@ -759,7 +759,7 @@ namespace ...@@ -759,7 +759,7 @@ namespace
{ {
// only show the messagebox the first time // only show the messagebox the first time
if (!bCritsOnAsterikWarning) if (!bCritsOnAsterikWarning)
ErrorBox(_pView, ModuleRes( ERR_QRY_CRITERIA_ON_ASTERISK)).Execute(); MessageDialog(_pView, ModuleRes( STR_QRY_CRITERIA_ON_ASTERISK)).Execute();
bCritsOnAsterikWarning = true; bCritsOnAsterikWarning = true;
continue; continue;
} }
...@@ -918,7 +918,7 @@ namespace ...@@ -918,7 +918,7 @@ namespace
{ {
// only show the MessageBox the first time // only show the MessageBox the first time
if (!bCritsOnAsterikWarning) if (!bCritsOnAsterikWarning)
ErrorBox(_pView, ModuleRes( ERR_QRY_ORDERBY_ON_ASTERISK)).Execute(); MessageDialog(_pView, ModuleRes( STR_QRY_ORDERBY_ON_ASTERISK)).Execute();
bCritsOnAsterikWarning = true; bCritsOnAsterikWarning = true;
continue; continue;
} }
......
...@@ -221,9 +221,9 @@ String STR_QRY_TOO_MANY_COLUMNS ...@@ -221,9 +221,9 @@ String STR_QRY_TOO_MANY_COLUMNS
Text [ en-US ] = "There are too many columns."; Text [ en-US ] = "There are too many columns.";
}; };
ErrorBox ERR_QRY_CRITERIA_ON_ASTERISK String STR_QRY_CRITERIA_ON_ASTERISK
{ {
Message [ en-US ] = "A condition cannot be applied to field [*]" ; Text [ en-US ] = "A condition cannot be applied to field [*]" ;
}; };
String STR_QRY_TOO_LONG_STATEMENT String STR_QRY_TOO_LONG_STATEMENT
...@@ -251,9 +251,9 @@ String STR_QRY_SYNTAX ...@@ -251,9 +251,9 @@ String STR_QRY_SYNTAX
Text [ en-US ] = "SQL syntax error" ; Text [ en-US ] = "SQL syntax error" ;
}; };
ErrorBox ERR_QRY_ORDERBY_ON_ASTERISK String STR_QRY_ORDERBY_ON_ASTERISK
{ {
Message [ en-US ] = "[*] cannot be used as a sort criterion."; Text [ en-US ] = "[*] cannot be used as a sort criterion.";
}; };
String STR_QRY_TOO_MANY_TABLES String STR_QRY_TOO_MANY_TABLES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment