on 02-06-2005 8:24 PM
Hi
Can i Add Data in a Matrix Cell on a System Form? with UI API??
I have to Add Matrix Data like this(link):
http://www.future.computer-help.at/help.htm
and how can i Get Matrix Data from a System Form?
Thanks
Hi
You can have a look at Matrix and Data Source sample. Its in your C:\Program Files\SAP Manage\SAP Business One SDK\Samples\COM UI\ directory.
Bruce.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have already checked this Sample.
But thanks nevertheless.
<i>(I check always first the UI and DI Help.
Then I check the samples, and only then I post my problem into the forum.)</i>
I solved the problem now.
Here is the Code:
Set oItem = SBO_Application.Forms(FormUID).Items.Item("38")
Set Source = oItem.Specific
Set EText = Source.Columns("U_Charge").Cells(1).Specific
str = EText.Value
thanks Marcel
Hi Marcel,
Please note that you can also use datasources to get data on a system form!
In 2004 DBDataSources are accessible to get data also on system forms (in non-system forms also for adding/setting); this applied to UserDataSources already in 6.5...
Going over "Specific" will let you run into performance issues, if there are too many rows in a matrix; nevertheless, when you try to manipulate values in a system matrix you have no other choice currently.
Regards,
Frank
PS: Please note that there is a SDK Training (course TB1300) in Walldorf soon (Feb., 28th - Mar., 4th).
Maybe you might want to attend - instead of finding all by yourself () - though I appreciate that you try your best to find the answers before posting! Thanks!
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.