01-16-2015
07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-16-2015
07:30 AM
Something like this should work :
Dim vendorProperty As String
vendorProperty = ""
Dim vendorList As New ArrayList
vendorList.add("Test1")
vendorList.add("Test2")
vendorList.add("Test3")
While vendorProperty = ""
vendorProperty = InputListBox("Prompt", vendorList, "", Title := "New Title Here", ListName := "List Name Here")
End While
iProperties.Value("Project", "Vendor") = vendorProperty
''' You could even do something like :
'If iProperties.Value("Project", "Vendor") = "" Then
' While vendorProperty = ""
' vendorProperty = InputListBox.......
' End While
' iProperties.Value("Project", "Vendor") = vendorProperty
'End If
''' that way, if the iProperty Value is already filled out, you won't
''' even see the dialog to select a new one.
''' It might not be useful, but I figured I would give an example.
If my solution worked or helped you out, please don't forget to hit the kudos button
iLogicCode Injector: goo.gl/uTT1IB
