You are not logged in.
Pages: 1
Hi,
the sql at the server side has an AND operator not the wanted OR operator.
So you can't get any results.
I thought about a Sqlite DB, but JSON storage would be fine.
At the moment I need to store some customer-information, tasks, dates.
A few tables and not so much data.
At the beginning my App would only read data. So I wouldn't need a real synchronization.
To add/modify data the app must be linked to server (at the beginning).
Hi guys,
is there a way to use the SynCrossPlatform units to access a local SQlite DB on Android or IOS.
My app should sync data with a Mormot-Server. But it should work offline. So I need to store the data localy.
Any suggestions?
Marco
Hi,
I already found a small bug.
In TRecordEditForm.WMUser you set Focus to first Component.
In my Record the first property type is sftCreateTime.
So fFieldComponents[0] is nil ==> AV
if fFieldComponents<>nil then
fFieldComponents[0].SetFocus; <<== AV
My fix:
procedure TRecordEditForm.WMUser(var Msg: TMessage);
var i: integer;
begin
for i := 0 to Scroll.ControlCount-1 do
Scroll.Controls[i].Repaint;
if fFieldComponents<>nil then
for i := low(fFieldComponents) to high(fFieldComponents) do
if assigned(fFieldComponents[i]) then
begin
fFieldComponents[i].SetFocus;
break;
end;
end;
Hi, I get a AV in Procedure ExtractAllResources()
CaptionNames param Action is always empty ('') and TrimLeftLowerCase(Action^) crashes!?
// for Delphi 2009 and up, CaptionName(): string will be converted into a WinAnsiString
with InternalClassProp(Tables[index])^ do begin
P := @PropList;
for j := 1 to PropCount do begin // add all field names
AddOnceDynArray(StringToWinAnsi(CaptionName(@P^.Name))); // <<== here AV
P := P^.Next;
end;
end;
Can you help?
Hi, I think I found a small bug.
I've activated the i18nLanguageToRegistry(lngGerman); line of code in your Maindemo.
But the value in registry is only "d" not "de".
So next start doesn't load the DE.msg.
Pages: 1