You are not logged in.
Pages: 1
I'm developing reports that need to print on 1/2 US Letter size forms. 8.5" X 5.5"
I specify the NewPageLayout with 216 W X 140 H, everything looks great in Preview but when I send it to the printer, it keeps changing orientation to landscape.
I've tried setting the orientation in the code, but if I set it or not, it claims in to be Portrait.
Has anyone else run into this issue and found a way to correct it?
I'm hoping to not need to redevelop the reports in another reporting package.
Any help or tips would be greatly appreciated. PDF export looks as expected.
I found this in the documentation but I've been unable to find where or if it's implemented in the framework.
https://synopse.info/files/html/api-1.1 … BLE_UPDATE
I could really use this for my current project. I'm writing a record set in JSON to disk from a TSQLTableJSON instance, and I would like to read it back in to another TSQLTableJSON instance, update some of the field values and then write it back to disk.
I've so far been unable to figure out how to use the UpdateFrom on TSQLTableJSON to do the updates, then I stumbled upon the TSQLTableWriteable, which sounds like what I need to use. Has anyone else used this or happen to know where or it it's still in the framework?
Regards,
NJL
I just tried to update my mORMot source today and when I attempt to compile it in Delphi 2010 it complains the following:
[DCC Error] SynCommons.pas(12324): E2137 Method 'TerminatedSet' not found in base class
I'm unsure what to do to make it work.
Regards,
Nick
*UPDATE - Solved*
I had to comment out the HASTTHREADTERMINATESET line in Synopse.inc. Line #429
{$if CompilerVersion >= 21.0}
// Delphi 2010/XE: Reduce EXE size by disabling much RTTI
{$define ISDELPHI2010}
{$define ISDELPHI2010_OR_FPC_NEWRTTI}
{$define FPC_OR_UNICODE}
{$define HASTTHREADSTART}
// {$define HASTTHREADTERMINATESET}
{$define HASINTERFACEASTOBJECT}
{$ifdef NEWRTTINOTUSED}
{$WEAKLINKRTTI ON}
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
{$endif NEWRTTINOTUSED}
{$ifend}
Has anyone else ran into this issue?
I also need to know this so I can handle if I've lost connection to the server to somehow cache the data being transacted locally and then feed it to the server once I'm able to talk to it again. But if my application hangs when the server goes away I'm unable to create a solution for this. Any guidance would be greatly appreciated.
Hello,
I want to be able to detect when the server has gone away. The client hangs when the server is shutdown and I want to try an display a notice of that event but I've been unable to find something I can poll to see the current state of the connection.
I initially tried polling the ServerTimeStampSynchronize function. The client would lock up before that could return. Then I attempted to look at the ServerInternalState variable value, but the client still locks before I can act upon it and it doesn't appear to update when the server is shutdown.
Is there some event that is fired on the client side when a connection interruption happens? So I can more gracefully capture it and act upon it?
I've played some with changing the timeouts on my TSQLHttpClientWebsockets.Create but this did not seem to help the situation.
Thank you in advance.
Pages: 1