[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

need help with simple View select statement

Posted on 2004-03-25
7
Medium Priority
?
306 Views
Last Modified: 2013-12-18
Hello all,

I rarely use the designer so I need some help creating some new views for my app.

Basically I have one field called TS_ISO which has a few different options "TS16496", "ISO-14001", "8D", I already have a select statement which will split these up but I also want to select docs which have certain numbers in a text field named "level" which shows the importance of a document.

How can I have these documents be split by the TS_ISO field well also showing only the selected numbers from the text field?

Thanks
0
Comment
Question by:DWR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 14

Expert Comment

by:p_partha
ID: 10677690
Have the second column categorized and put this formula

@if (level ="1";"Importance";level="2";"not important";"may be importnat")

u can change the text according to the level

Partha
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 10677714
Use Select formula like this

Select TS_ISO *= "TS16496" : "ISO-14001" : "8D" & Level *= 1:2:3

In the column formula you can use @IF Statement to filter out other content and show only what you want .. But your selection formula above decides what docs will be shown in this view

~Hemanth
0
 

Author Comment

by:DWR
ID: 10678301
Sorry I should have specified that the level is only part of the field, the fields are semi smart numbers formatted as such "100-XX-ZZ" "200-XX-ZZ" Where 100= low importance, 200= moderate importance and so on up to 500.

 -XX- is the auditor ref # for who is assigned the audit responsibility for this (not important for select statement) and ZZ is the reference# for the department which is assigned reposbility. (also not used here).

Sorry for not being clear on my first post I should have mentioned the number was only part of the field.

Thanks for your help so far guys!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Accepted Solution

by:
p_partha earned 500 total points
ID: 10678331
as i said earlier have this as a second  categorized column
@if (@left(level;3) ="100";"low importance";@left(level;3) ="200";"Moderate";"High importance")
0
 

Author Comment

by:DWR
ID: 10678404
OK, so use @left to return just the importance, sounds good I'll give it a try and fill you in.
0
 

Author Comment

by:DWR
ID: 10678515
Worked perfectly Partha.

Thanks for both of your input and help with this.
0
 
LVL 14

Expert Comment

by:p_partha
ID: 10678911
Thx for the points :)

Partha
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

656 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