Home > Back-end > Three layers of database structure
Three layers of database structure
Time:09-17
Which prawn to know three layers of the database structure in the android mobile phone client: Delphi DataSnap MSSQL Using structure statement Append. Post; ApplyUpdates (1); Add records to the mobile terminal line command has triggered a PC server event BeforeApplyUpdates In this may have to add some code, just as the query inspired BeforeGetRecords event, to be articulated ADOQuery1. SQL code, such as
On the mobile end ClientDataSet1 has put add rows in the Grid1 shows. But remote MSSQL database and not added success, due to server errors happened. Remote error: Access violation at address 006 d2d57 module in '* * * *. Exe'. Read of address 00000000 How to deal with? Please master, Thx.
CodePudding user response:
Mobile phone App using DataSnap, basically consistent with the PC, This should be the ApplyUpdates (1); The problem on the update, My experience, write their own Updates, instead of it, mainly through the SQL statement to update upload data,