![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Using a PROMPT in an Expl Obj Report Topic Summary: I get the prompt, but am I inputting the wrong value? Created On: 5-Jan-2007 23:34 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi As the value has spaces in it you are required to quote it. | |
![]() |
|
I have an Explorer Object Report that is "hard coded" (if you will) to reference a particular diagam by name. The diagram name is "CDM - Enterprise wide - 30,000 ft ". This version of the Explorer Object Report works.
I've changed the code to create a prompt, but when I put the above name in the prompt, I get this error: <Parameters><Parameter Name="NAME" Value="CDM - Enterprise wide - 30,000 Ft "/></Parameters> This is the code in the definition: REPORT "" ID 43448 { SETTING { PAGESIZE -1", 0.00 } SETTING { REPORTFORMAT 0 } TABULAR 1 { SELECT "Identity" LEGEND "SATargetIdentity", "Class Number" LEGEND "SATargetClass", "Type Number" LEGEND "SATargetType", "Name" LEGEND "SATargetName" WHERE Class = Symbol WHERE Type = "Associative Entity", "Entity", "Weak Entity" JOIN WHERE RELATION = "contained in" JOIN SELECT "Name" WHERE Class = Diagram WHERE "Name" = #NAME# } } |
|
![]() |
|
![]() |
|
Hi As the value has spaces in it you are required to quote it. ------------------------- Senior Software Developer Telelogic UK Ltd. |
|
![]() |
|
![]() |
|
Gosh - I sure thought I had tried that already - at least 5 times, but you are correct. It's working fine. Thanks again.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.