![]() | Products |
| Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Reported for Version 2.06 » View Incident Report |
| Reported By: Piotr Front Reported On: 12/14/2011 For: Version 2.06 Build 2 |
with EDBQuery1 do
begin
SQL.Text := 'SELECT * From XMode';
Open;
Append;
FieldByName('Name').AsString := 'x';
// FieldByName('OptionsJSON').isnull = false!
FieldByName('OptionsJSON').Clear; //workaround
//with workaround -> FieldByName('OptionsJSON').isnull = true!
Post;
Button2.Caption := FieldByName('OptionsJSON').AsString;
//should return '{}' instead empty string!
end;
Table XMode:
CREATE TABLE "XMode"
(
"Id" INTEGER GENERATED ALWAYS AS IDENTITY (START WITH 0, INCREMENT BY
1) NOT NULL,
"BuildIn" GUID,
"Name" VARCHAR(128) COLLATE "UNI_CI" NOT NULL,
"Descr" VARCHAR(255) COLLATE "UNI_CI",
"Category" INTEGER DEFAULT 0 NOT NULL,
"OptionsJSON" CLOB COLLATE "UNI_CI" DEFAULT '{}' NOT NULL,
CONSTRAINT "PK_Id" PRIMARY KEY ("Id")
)
VERSION 3.00
READWRITE
UNENCRYPTED
INDEX PAGE SIZE 8192
BLOB BLOCK SIZE 128
PUBLISH BLOCK SIZE 128
PUBLISH COMPRESSION 0
MAX ROW BUFFER SIZE 32768
MAX INDEX BUFFER SIZE 65536
MAX BLOB BUFFER SIZE 32768
MAX PUBLISH BUFFER SIZE 32768!
CREATE INDEX "Idx_Category" ON "XMode" ("Category")!
CREATE INDEX "Idx_BuildIn" ON "XMode" ("BuildIn" COLLATE "UNI_CI")!This web page was last updated on Wednesday, October 22, 2025 at 04:21 PM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

