![]() ![]() If iProperties.Value("Project", "Part Number") = ThisDoc.FileName(False) _ I combined this with another rule to wipe the filename from the part number upon initial creation. IProperties.Value("Project", "Part Number") = GoExcel.CellValue("B2") ![]() GoExcel.Open("\\SVAULT\Inventor Standards\Automation\JFRC - PART NUMBER GENERATOR.xls", "Part Numbers") &"Current Part Number: "&iProperties.Value("Project", "Part Number"), "Part Number Overwrite?", MessageBoxButtons.YesNo ) Question = MessageBox.Show("Are you sure you would like to overwrite the currently assigned part number?"&vbLf _ If iProperties.Value("Project", "Part Number") ThisDoc.FileName(False) _Īnd iProperties.Value("Project", "Part Number") "" Then I then trigger the rule using a button in a form. This rule would be triggered manually from a form.Īnyone familiar enough to create simple iLogic code to do this? I know I'm asking a big favor, but I know there are some experts out there!Īccomplished this with the following iLogic (it's not pretty, but it works).If, when the rule is triggered, the Part Number property is blank or the same as the file name, the user would not be asked if they would like to overwrite the part number. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |