Some thoughts about b4p table vs sql table
Hello dennishea,
I'm also searching for a table- or listview- control that enables a stylish appearance for SQLite- tables and -views.
My first attempt to work with SQLite was two years ago, with NSBasic, it worked well with about 50.000 datasets each with 27 Columns.
--This is possible by handling a Table or a View piece by piece. If you want to show one Dataset in a Form you SELECT one Dataset in dependence of its rowid(see Sqlite-manual) or any other parameter.If you want to show a tableview, it is needed to SELECT the maximum visible rows, in dependence of fontheight. To show filters or views you can use TempTables, stored on SD-Card for eg.( Use Pragma TempStoreDirectory).(Searching will be faster if every row is indexed). AutoIndex will proceed the same, but I don't know how to create it. SQLite is fast enough to scroll through the Database, by selecting the parts you need. No more memoryproblems will decrease the ppc- performance--
Because NSBasic is native, and no support for framework2- based Outlook components is to expect from NSBasic, I try to do the same in B4P.
But now my rating for your problem:
You want to have a table-control that is able to formate its column width in dependence of stringlength and fontheight. It should be able to chart different datatypes as a formated string such as Date, currency etc.? Columns or rows should be selectable by the user and an image in each cell or column should be also nice to have. Extensions for the existing tablecontrol should do that in the future, but in my opinion there exists no control in B4P that provides this features all together. But I hope that an additional libary will solve the problems. By then I try to handle existing htmlcontrols, panels, textboxes, controlarrays, controlextensions to optmise the appearance of SQlite-Datas, and switch the table that holds the data, invisible. But a special dll should be faster.
I think you see, that you are not allone with the problem to have an easy handling an nice looking SQlite.
Now I go on vacation for one week. Have happy easter, if you join it...
Best regards
berndgoedecke