03-15-2017, 06:24 PM
I am trying to create a dynamic toolbar that gets defined by data stored in a SQL Server database table, this toolbar would be used by dozens of users, but each users specific toolbar settings would be stored in the database. This would allow one set of QM code to be installed on each workstation, then each users specific settings would be stored in the database.
Upon logging into a SQL Server database and reading the data stored for the specific user, the QM code would then build the toolbar based on values stored in that database.
Does anyone have any sample code that would allow me to connect to the database by logging in with sqlserver authentication, then reading data from specific database tables (I guess we could use windows authentication on SQLServer if needed)
I am trying to prove a concept works, then if I can actually accomplish what I am trying to achieve I will wind up hiring someone who can write part of this program for me. If anyone on the forum is interested in assisting with my project, please let me know, you can send me a private message.
Gintaras said I should try using the following classes and functions:
Database
Sqlite
ICsv
DynamicToolbar
DynamicMenu
newitem
If anyone has any sample code using any of the above and you would be willing to share it with me, please let me know. Any assistance would be appreciated
Thanks
Upon logging into a SQL Server database and reading the data stored for the specific user, the QM code would then build the toolbar based on values stored in that database.
Does anyone have any sample code that would allow me to connect to the database by logging in with sqlserver authentication, then reading data from specific database tables (I guess we could use windows authentication on SQLServer if needed)
I am trying to prove a concept works, then if I can actually accomplish what I am trying to achieve I will wind up hiring someone who can write part of this program for me. If anyone on the forum is interested in assisting with my project, please let me know, you can send me a private message.
Gintaras said I should try using the following classes and functions:
Database
Sqlite
ICsv
DynamicToolbar
DynamicMenu
newitem
If anyone has any sample code using any of the above and you would be willing to share it with me, please let me know. Any assistance would be appreciated
Thanks