It is currently Mon Feb 06, 2012 3:15 am



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: ReporterPLUS and the "Q language"
PostPosted: Wed Sep 10, 2008 7:04 pm 

Joined: Wed Sep 03, 2008 1:45 pm
Posts: 12
Ok, so I am using a custom template in ReporterPLUS and I am trying to print the contents of a "Controlled File" in my report. I have no problem printing the contents of the file. However, if I have 2 controlled files in a single package and I want to be able to only print one of them.

For example: Lets say a package has 2 controlled files "mypackage_requirements.doc" and "mypackage_algorithm.doc"

I want to put in a "advanced" condition in my template where it will allow my template to only print "mypackage_Algorithm.doc". There is a catch. I want to make sure that this condition will work on any package which has a controlled document that end with the string "_algorithm". So, I would like to leave the "mypackage" part of the name out of the condition.

It sounds like I need a regular expression, but I do not know how to express it.
I would like a Regular Expression or a condition in the "Q Language" which says to look at Controlled Files in a package and only include the files which end with "_algorithm.doc"

Please let me know if my problem is not clear and I will try my best to reword it.

I have attached a jpg file which shows the part I need to finish.

Can someone help me with this?

Thanks in advance,
-Sevak


Attachments:
reporterPlus.JPG
reporterPlus.JPG [ 58.51 KiB | Viewed 712 times ]
Offline
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 2:12 pm 

Joined: Wed Sep 03, 2008 1:45 pm
Posts: 12
I solved my own problem. The condition/regular expression is:

$name ~= "Algorithm*"


Offline
 Profile  
 
 Post subject: Q language Syntax
PostPosted: Tue Nov 25, 2008 5:23 pm 

Joined: Sun Mar 16, 2008 3:04 pm
Posts: 3
hi,

i am new to ReporterPLUS. I didn't understand anything from the ReporterPLUS help files in regards to Q Language syntax and semantics.

Does anyone have a good tutorial on the language with some solid examples?

thanx.
.k


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:


suspicion-preferred