cancel
Showing results for 
Search instead for 
Did you mean: 

form settings problem

former_member689126
Active Contributor
0 Kudos

Hi Experts

I have a user defined form with 4 folders inside each folder there is a matrix(total 4 matrix). But my problem is that when i select form settings every time first matrix form settings will be displayed. I have to access the form settings of other three matrix also. Any ideas on how I can do this..please help me

Thanks in advance

Arun

Accepted Solutions (1)

Accepted Solutions (1)

szymon_lipnicki3
Active Participant
0 Kudos

Hi,

You can display settings for other matrixes. You need to change Form.Settings. Just assign matrix unique id which You want to display in Form settings to form's propoerty MatrixUID.

You wrote that You have 4 folders with 1 matrix in each folder.

Folder1 - Matrix1 (UID = M1)

F2 - Matrix2 (UID = M2)

F3 - Matrix3 (UID = M3)

F4 - Matrix4 (UID = M4)

If You click on any folder You change Form PaneLevel to display relevant matrix. At the same moment change Form.Settings.

F1

Form.PaneLevel = 1

Form.Settings = M1

F2

Form.PaneLevel = 2

Form.Settings = M2

F3

Form.PaneLevel = 3

Form.Settings = M3

F4

Form.PaneLevel = 4

Form.Settings = M4

Regards

Szymon Lipnicki

former_member689126
Active Contributor
0 Kudos

Hi Szymon

Thanks for your reply

but it shows that form.Settings = "mtxMRQ5" is a read only property

i am using SAP B1 8.8 and VB.net 2008

Regards

Arun

szymon_lipnicki3
Active Participant
0 Kudos

Hmm, if You look into sdk help file a Form.Settings property is reaqd-write so You should have possibility to change it.

It works for me and I am using SAP 8.8 and VS 2010.

Regards

Szymon Lipnicki

former_member689126
Active Contributor
0 Kudos

Thanks Szymon

solved...............

Problem is with

form.Settings = "mtxMRQ5"

instead of this statement i used the following as shown in SDK help center

Dim fSettings As SAPbouiCOM.FormSettings

fSettings = oForm.Settings

fSettings .MatrixUID = "mtxMRQ5"

Thanks a lot

Regards

Arun

Answers (3)

Answers (3)

former_member689126
Active Contributor
0 Kudos

Thanks Sandy and gordon for the help

closed....

former_member209699
Contributor
0 Kudos

Hi Arun !!!

I am afraid, you can not view other three matrix through Form Settings.

regards:

Sandy

Former Member
0 Kudos

Hi Arun,

Do you consider to put them in 4 forms instead?

Thanks,

Gordon