Hi,
I'd like to know/understand better 3 things:
1) if the correct method to load the matrix control of UI is the one explained in the beginning distributable examples ( AddDataSourceToForm , BindDataToForm
... ) or if it is possibile to load the data using DI Objects. If yes, how?
2)if I use the Matrix of User Interface can I display the fields of more than one table relating them via code or do I have to create a view for this scope? Creating a view isn't dangerous for futures updates of B1 versions ?
3) if there is the possibility to load data in some standard grid/matrix control of Windows-VB (not those supplied by UI of Sap Business One passing the DI Object (in a way similar to Ado Datacontrol ..)
Thank you very much
Andy
Hi Andy,
re 1)
You will have to use UI API's UserDataSource(s), if you want to get the data from DI API objects. There is no option to tie a DI object to some UI element.
re 2)
Again a view will not help when you want to use DBDataSource(s). You will basically have to do the same as for 1)...
And of course, if there are changes in the DB structure of SAP Business One, your view won't work any longer...
re 3)
You can use whatever you want (DI API's RecordSet object - or any other way to get the data from the database).
Regards,
Frank
Add a comment