This works after all. The problem may likely have been that only one connection may be active at a time on an InterBase ToGo database. I may have had the database open in Rad Studio at the same time as I was trying to use it from a running application.
In this case I created a simple application with Rad Studio XE3. I used VCL and dbExpress for creating the application. The steps were:
- Create database file with the IBConnect tool. This ensures texts are UTF-8 encoded (non-english texts). Make sure char/nchar columns have charset utf8 for good measure.
- Create project in XE3
- Add
TSQLConnection
andTSQLDataSet
components to VCL form. Setup references amongst them. - Ensure "server charset" is utf8 on the connection.
- Add a
TStringGrid
to the form - Create a livebinding from the Grid to to the Data Set.
- Add an SQL statement to the Data Set, e.g.
select * from customers
- Ensure DataSet's
Open()
function is called.
The grid should now be filled with (example) data!