Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I would need your advice in the following issue:
I remind a user with a Yes/No MsgBox not to forget to edit the iProperties, because it is often a missed step. I trigger this rule "Before save the document", but the problem occurs when I have an assembly with lots of parts. Then the saving triggers the iLogic and I have to click on the button every time a part is saved.
Is there a way to distinguish somehow in iLogic if the part is saved by the user or by an assembly?
Then i would include an "if statement" before I prompt the user.
Here is the basic code:
'Reminder to edit the iProperties
Dim buttonValue As Integer
buttonValue = MessageBox.Show("Don't forget to fill out the iProperties! Would you like to do it now?", "Reminder" ,MessageBoxButtons.YesNo)
' yes is 6, no is 7
If buttonValue = 6 Then
Call OpeniProperties
End If
Thanks for your help in advance!
Solved! Go to Solution.