Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comments in the Selection Expert 1

Status
Not open for further replies.

Memento

MIS
Jun 19, 2005
46
US
Is it possible to add comments "//" to the Selection criteria and save it? Everytime I add a comments "//" in selection criteria, Crystal fails to save the fields I had commented out.

I'm trouble shooting a selection criteria problem, and decided to comment out the fields in question. When I go back in, the fields are gone. I've lost whatever I had commented out.

For Example:
Commented out selection criteria
//not isnull({@StartDate})
{@StartDate}<={@EndDate}

After I save and come back:
{@StartDate}<={@EndDate}

I've lost the commented code out. I actually had four lines of code commented out, and now it's lost.
 
How are you accessing the Selection Criteria.

And, what version are you on?

I remember this was a problem in some versions of crystal when you accessed the Selection Criteria from the Select Expert.

However, if you access the selection criteria directly from the menu command Report/Selection Formula/Record and edit and save comments there they should stay put.

(The menu command is similarly named in each version - the specifics might be slightly different.)

regards,

ro


Rosemary Lieberman
rosemary-at-microflo.com, Microflo provides expert consulting on MagicTSD and Crystal Reports.

You will get answers more quickly if you read this before posting: faq149-3762
 
Confirmed!

Rosemaryl,

I have both version of Crystal 8.5 and Crystal XI, and going through the Report, Edit Selection Forumla, Record DOES save the comments. Now.......If you save the comments through the Edit Selection Formula, and then go into the Selection Expert, they will go away even if you saved it the correct way.

Here's what I learned...If troubleshooting in the Selection Cirteia, and you need to use comments, use the Report, Edit Selection Forumla, Record.

Thanks for the help!

Memento
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top