Solved

Crystal Reports 9 Find Bracketed Items

Posted on 2014-12-12
9
126 Views
Last Modified: 2015-02-02
Hello,
      I am attempting to write a report in Crystal 9 that will show all items that are enclosed in brackets, ([ ]) in a memo field. I find that when I try to use Select Expert that the field is not available. I then tried to write a formula with no success. I thought this would be simple as it is only one table that I am looking at.
      Perhaps it would be helpful if I gave the purpose. We create standard work for items that we manufacture. The items call for specific specifications. We enclose these specification call outs in brackets which lets the system know to look in the specification library and automatically assign it the latest revision. I need to get a list of all these specifications that have been enclosed in brackets. ANY help with this would be most helpful.

Thank you
0
Comment
Question by:daskas27
9 Comments
 
LVL 18

Expert Comment

by:vasto
ID: 40496626
What is the type of the field - text, memo ?
0
 

Author Comment

by:daskas27
ID: 40496638
"Show Field Type" says Memo
0
 
LVL 18

Expert Comment

by:vasto
ID: 40496949
That is why it is not working with the formulas. Most likely the database field is of type text. I would create a view and convert the text field. The available types will depend on your database. In SQLServer the corresponding type will be varchar(max length). Then use the view in your report and the field will be available.
0
 

Author Comment

by:daskas27
ID: 40496975
The database is visual FoxPro.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 100

Expert Comment

by:mlmcc
ID: 40497017
Crystal cannot use memo fields in formulas.

How long can the memo fields be?
Are most less than say 1000 or 2000 characters?

You could write a view that extracts the [ ] text from the field

mlmcc
0
 

Author Comment

by:daskas27
ID: 40497100
Yes, less than 1000. I don't know how to write a view.
0
 
LVL 18

Expert Comment

by:vasto
ID: 40497188
In FoxPro view is probably named query
0
 
LVL 34

Accepted Solution

by:
James0628 earned 500 total points
ID: 40497816
This is something of a shot in the dark, but ...

 You could try creating a formula that just contains that memo field, and then see if you can use that formula in the Select Expert or in another formula.  CR 10 also has some issues with memo fields, and I found that if I just put a memo field in a formula, I could then use the formula in a place (Creating a group?) where I was not able to use the field.

 You could also try using CStr/ToText in a formula to convert the memo field to a "regular" string.  I have no idea if that will work, but it would be easy to try.

 If those things don't work, then you may have to manipulate the data before it gets to CR, as the others suggested.

 James
0
 
LVL 18

Expert Comment

by:vasto
ID: 40498007
You can try also to create a SQLExpression convert the field inside.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now