Solved

need help with simple View select statement

Posted on 2004-03-25
7
291 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
  • 3
  • 3
7 Comments
 
LVL 14

Expert Comment

by:p_partha
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

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 14

Accepted Solution

by:
p_partha earned 125 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Worked perfectly Partha.

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

Expert Comment

by:p_partha
Comment Utility
Thx for the points :)

Partha
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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 tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

11 Experts available now in Live!

Get 1:1 Help Now