Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

About UserDataDictionary.Add (Key as String, Item As Long = 0)

Hi,

PowerDesigner 16.5.5.0 (4693) SP05

Do you know how can we manipulate the Item parameter ?

UserDataDictionary.Add (Key as String, Item As Long = 0)

-- I create my key

UserDataDictionary.Add "Ma clef d'identification", 1

-- I set data to my key

UserDataDictionary("Ma clef d'identification") = ("2")

-- I read all keys and datas from Data Dictionary

For Each key In UserDataDictionary.Keys

   Output " Clef => " & key & " Donnée => " & CStr(UserDataDictionary(key))

Next

*************************************

Now I want use Item

-- I tried to set Item to number 2...

UserDataDictionary.Add "Ma clef d'identification", 2

What's the usage of Item ?

How I set Data Item 2 in Data Dictionnary?

How I read Key/Data Item 2 from Data Dictionnary?

Thank you

Not what you were looking for? View more on this topic or Ask a question