#1 Re: mORMot 1 » sql server field type is bit, when value is true, return -1. why? » 2022-02-23 03:41:50

thanks ab,

but how can i set the true value to 1 instead of -1 ?

#2 mORMot 1 » sql server field type is bit, when value is true, return -1. why? » 2022-02-22 02:20:28

charlesqin
Replies: 3

fProps := TOleDBMSSQL2012ConnectionProperties.Create(VServer,VDatabase,VUserName,VPassword);

fProps.ExecuteInlined(VStr_Sql,True);

#4 Re: mORMot 1 » Localization (L10n) problem » 2021-05-06 01:40:05

thanks ab, i'm change the charset of the zh.msg then solve the problem.

but another problem is that,  the main language of my application is chinese,

when i call the ExtractAllResources procedure, chinese in the generate template (eg. Project04Client.messages) is convert to Question marks(????)

i kown it need WinAnsi String, but there is any way to translate  from chinese to english ?

thanks.

#5 mORMot 1 » Localization (L10n) problem » 2021-04-30 09:29:52

charlesqin
Replies: 3

translate to Chinese display Mistaken Code

in zh.msg like this
[TForm1]
Label1.Caption=_3144095710   Your name:
Label2.Caption=_2359705126   Your message:
AddButton.Caption=_1211734403   Add the message qqs
QuitButton.Caption=_2664133969   Quit

[Messages]
3144095710=Your name test: <---- this no problem 
2664133969=退出  <---- this Chinese display like 閫€鍑?

#6 Re: mORMot 1 » Newbie questions : CRUD in VCL clients with data-aware components » 2020-10-14 08:20:34

hi ab,
  thanks for quick reply.

  but how to apply the dataset modifications to server then to database.

  Sample 17-TClientDataset Apply Updates use TSQLDBConnectionProperties,it's not fit this case.

#7 mORMot 1 » Newbie questions : CRUD in VCL clients with data-aware components » 2020-10-14 07:17:17

charlesqin
Replies: 2

hello,
  i'm read the SAD many times and search in this forum, but can't find examples for use HTTP Client/Server with RAD approach.

  i'm use dateset, dbgrid, TEdit ect... in clients for data Presentation and edit, update to database.   

  but i don't want to use ORM,  it's an new ERP application and has a lot of tables.  i'm think is difficult to use ORM.

  anybody can give me some help?  thanks.

  sorry for my bad english.

Board footer

Powered by FluxBB