![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Using VBA and encyclopedia.CreateDefinition truncates definition name Topic Summary: Unexpectated truncation of New Definition names Created On: 25-Aug-2006 03:22 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: You get the same problems upon filtering too. You might try... 'Putting double quotes around the name. strNewAppName = chr(34) & "My New4 Name" & chr(34) Set newDefinition = saApp.Encyclopedia.CreateDefinition(strNewAppName, 309) I do not think I am alone when I say "I would love to see the code behind System Architect". I think it would brighten all of our days ![]() ![]() | |
![]() |
|
I am attempting to create a new definition in a 10.3 on XP encyclopedia. ------------------------- Thanks, MattS |
|
![]() |
|
![]() |
|
You get the same problems upon filtering too. You might try...
'Putting double quotes around the name.
strNewAppName = chr(34) & "My New4 Name" & chr(34)
Set newDefinition = saApp.Encyclopedia.CreateDefinition(strNewAppName, 309)
I do not think I am alone when I say "I would love to see the code behind System Architect". I think it would brighten all of our days
![]() ![]() |
|
![]() |
|
![]() |
|
Duane, ------------------------- Thanks, MattS |
|
![]() |
|
![]() |
|
As an aside, createSymbol DOES NOT throw the same errors when you attempt to name a symbol with non alpha chars.
If you concatenate chr(34) to the string symbol name, it simply adds quotes to the symbol name! Not what you want to happen...or what I expected. ------------------------- Thanks, MattS Edited: 5-Sep-2006 at 18:37 by Matt Sheranko |
|
![]() |
|
![]() |
|
SA has a somewhat syrupy consistency |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.