Message 1 of 18
Microsoft .NET Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
Here is a strange one for me anyway
I have the code below that works with no errors when its in an Internal Rule but when I made this an external rule I now have the following error.
The error is happening on the 1st line of code as I have done the debug as suggested in the past by MechMachineMan
Any ideas why??
SyntaxEditor Code Snippet
BStruture = InputListBox("Choose BOM Structure", MultiValue.List("BOM_Structure"), BOM_Structure, Title := "Title", ListName := "List") Select Case BStruture Case "Normal" ThisDoc.Document.ComponentDefinition.BOMStructure = BOMStructureEnum.kNormalBOMStructure Case "Phantom" ThisDoc.Document.ComponentDefinition.BOMStructure = BOMStructureEnum.kPhantomBOMStructure Case "Reference" ThisDoc.Document.ComponentDefinition.BOMStructure = BOMStructureEnum.kReferenceBOMStructure Case "Purchased" ThisDoc.Document.ComponentDefinition.BOMStructure = BOMStructureEnum.kPurchasedBOMStructure Case "Inseparable" ThisDoc.Document.ComponentDefinition.BOMStructure = BOMStructureEnum.kInseparableBOMStructure End Select