

amit
Members-
Content Count
33 -
Joined
-
Last visited
Everything posted by amit
-
I limit the data send to server at 25 records at a time. Anyway I wonder how I can make sure that the server can successfully insert the whole data on the database without returning the successfully inserted ID. if I just check only the http status 200 returned, I knew only that the server successfully received the whole json string but it is not guarantee that the whole data are inserted successfully on the database. In my server code, I return just only the successfully inserted record IDs, the problem ones will not be returned. The client will update the sentflag on any records that ID are in the RetIDList. So on the next data send phase, the problem ones can be sent again. Is there any other way to check whether there is no problem at all on the server side? Please suggest. Thank you. Oh another thing the IDs that send to the server in Json string is the ID of the records in database's table in the client PC and it will never be inserted to the Server's database for any reference. They will be used for server to reply back to the client if they are inserted succesfully. Client will mark those records by setting sentflag so no need to resend them.
-
I want to use them to construct the SQL to update record flag in SQL table. The Bracket in the RetIDList will be romoved and finally the RetIDList will be '1,2,3,4,5'. Then I will create Update SQL as qry.SQL.clear; qry.SQL.add('Update Table1 Set Flag=0 where ID in ('+RetIDList+');'); qry.ExecSql; Anyway, if you can point me how to access IDLIST as an array of integer it will be OK. I can generate the SQL from that array.
-
I had created the report in Quality Central already ( RSP-32335 ). I also attached your Project1.dpr with the report.
-
Thank you all for trying to help. I finally found that the monotype or monospace font that use in Delphi editor is not suitable for displaying Thai Language. Even it can display Thai but it display incorrectly. Delphi Editor should be upgrade to make it capable to use non monotype or monospace font. You can see the picture that how it display Thai incorrectly compare to the correct one. I hope one day Embarcadero will make a better editor to display Thai language correctly soon.
-
Any Monotype fonts install in Windows will not be existed in the Selection list of the Editor in Delphi. It shown only the Original list of Delphi provided. By the way, monotype font should not be the final solution to solve this problem because it still display incorrectly. If Delphi change the Editor to use the non monotype font it should be display correctly as shown in the VS Code Editor. I wish Embarcadero will change change it soon.
-
I downloaded monotype fonts and install them in windows however I never see those fonts in the selection list of the Editor Fonts.
-
Hi, I try to create simple android app using FMX component. I create the Galaxy Note 5 view from its specification, Screen Resolution: 1440x2560, PPI=518, Screen size = 5.7". I place 3 buttons on the form and compile and run. It is working fine but the position of all buttons is displayed inproperly as s The pictures at design time and on the actual device (Note 5) are attached. Here is the code on package of the View I made. unit Note5; interface implementation uses system.Devices, system.Types, system.SysUtils; const ViewName = 'Note5'; // The unique name of the view, it has to be the same name as the one written between <Name></Name> tags of the DevicePreset.xml file. initialization TDeviceinfo.AddDevice(TDeviceinfo.TDeviceClass.Phone, ViewName, TSize.Create(1280,720), TSize.Create(586, 330), // MinPhysicalSize(max, min), MinLogicalSize(max, min) TSize.Create(2560,1440), TSize.Create(1280, 720), // MaxPhysicalSize(max,min), MaxLogicalSize(max,min) TOSVersion.TPlatform.pfAndroid, 518); //Select the platform and the pixel density. finalization TDeviceinfo.RemoveDevice(ViewName); // To unregister the view after unistalling the package. end.
-
SORRY IT SHOULD BE IN FMX Group. AMIT. Hi, I try to create simple android app using FMX component. I create the Galaxy Note 5 view from its specification, Screen Resolution: 1440x2560, PPI=518, Screen size = 5.7". I place 3 buttons on the form and compile and run. It is working fine but the position of all buttons is displayed inproperly as shown. This is the picture at design time. and next is the picture that shown on the actual device (Galaxy Note 5) Please suggest what I did wrong. Here is the code on package of the View I made. unit Note5; interface implementation uses system.Devices, system.Types, system.SysUtils; const ViewName = 'Note5'; // The unique name of the view, it has to be the same name as the one written between <Name></Name> tags of the DevicePreset.xml file. initialization TDeviceinfo.AddDevice(TDeviceinfo.TDeviceClass.Phone, ViewName, TSize.Create(1280,720), TSize.Create(586, 330), // MinPhysicalSize(max, min), MinLogicalSize(max, min) TSize.Create(2560,1440), TSize.Create(1280, 720), // MaxPhysicalSize(max,min), MaxLogicalSize(max,min) TOSVersion.TPlatform.pfAndroid, 518); //Select the platform and the pixel density. finalization TDeviceinfo.RemoveDevice(ViewName); // To unregister the view after unistalling the package. end.