Skip to Content
author's profile photo Former Member
Former Member

UI - DI for Matrix - Grids


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


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 11, 2005 at 10:26 AM

    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).



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.