Mério C11139

Member since: Wednesday, 27 April 2016
Last login: 4 months ago
Profile viewed: 141 views

No Rank
Points: 0

Mério C11139 is friends with Jim McKeeth

Mério C11139 created a new topic ' Best Pratices for using Firedac' in the forum. 5 months ago

Is there a more secure way to pass parameters to a query?


1
2
3
4
5
6
7
8
9
10
11
12
TFDQuery(Qry).SQL.Clear;
TFDQuery(Qry).SQL.Add('select * from table where id= :id');
// option 1
TFDQuery(Qry).Parambyname('id').AsFloat := valueFloat;
//or option 2
TFDQuery(Qry).Parambyname('id').AsValue := valueFloat;
// or option 3
TFDQuery(Qry).ParamByName(‘id’).DataType := ftFloat;
TFDQuery(Qry).Parambyname('id').AsFloat := valueFloat;
//or option 4
// id in bd is Float
TFDQuery(Qry).Parambyname('id').AsString := valueString;




Performance question, any of these ways of changing using Firedac?

Read More...

Mério C11139 created a new topic ' Drag and Drop ListView or ListBox (iOS/Android)' in the forum. 1 year ago

I need the user to sort a list by dragging and dropping on mobile.

This works in the ListBox in Windows but not in Mobile.
How to do this?

Thank you

Read More...