Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by SA Team, on Monday, January 8, 2007 11:33 PM

Answer:

Hi

As the value has spaces in it you are required to quote it.
Try :-
"CDM - Enterprise wide - 30,000 Ft"

This should work ok

Thanks
Ian

 5-Jan-2007 23:34
User is offline View Users Profile Print this message


Paula Stone

Posts: 7
Joined: 5-Jan-2007

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#
 } 
}
Report this to a Moderator Report this to a Moderator
 8-Jan-2007 10:32
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

Answer Answer

Hi

As the value has spaces in it you are required to quote it.
Try :-
"CDM - Enterprise wide - 30,000 Ft"

This should work ok

Thanks
Ian



-------------------------

Senior Software Developer
Telelogic UK Ltd.
Report this to a Moderator Report this to a Moderator
 8-Jan-2007 23:32
User is offline View Users Profile Print this message


Paula Stone

Posts: 7
Joined: 5-Jan-2007

Gosh - I sure thought I had tried that already - at least 5 times, but you are correct. It's working fine. Thanks again.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.