Im useing Delphi XE4. Im using an sqLite database(IOS APP).
I have a listView (lvCustomers) i use a sqlDatsaSet to display all the records from the Customers table. I just drag and drop from the Data Explorer, and use Live Bindings to link to the listview(lvCustomers) from the sqlDatsSet.
I want to click on the customers name in the listview(lvCustomers) and get the ID field from the customers table .
I will use this ID to join to the invoice table in the next listvew to display all invoices that belong to the customer ID that i click on (lvCustomer)
How can I get the field Id (Customers.ID) from the item that is clicked on in the listview(lvCustomers)?
It seems TListViewItem has a Tag property. Is it possible to use this with the live binder or without the live binder to grab the ID field ?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.