hi,
I have 100 computers which need to show warranty info which I have done the following(this works for me)
if isnull({table.column})then
"computers having NO warranty INFO"
else if {table.column} <= CurrentDate then
"computers that have Warranty Expired"
else
"computers having Warranty NOT expired"
An additional requirement came up for which I need:
"Computers that are important = YES"
Computers that are important ---> field name and "YES" would be the default value.
Question is: can i add this new requirement to the original formula ?
Presently I am using one pie chart show three divisions:
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
Now I will need to display the same as above but now I will need ** TWO pie charts.
Important computers
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
UN-important computers:
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
**** can i add to the original formula:
({Computers that are important = YES})" and
if isnull({table.column})then
"computers having NO warranty INFO"
else if {table.column} <= CurrentDate then
"computers that have Warranty Expired"
else
"computers having Warranty NOT expired
********** Second related Requirement *********
For the computers that have warranty expired which of the computers have warranty expired within the next 30 days, 60 days and so on.
For this I am using:
if {column.warranty_end}>= currentdate and {v_asset1.warranty_end} <= currentdate+30 then
"Less than 30 days"
else ifcolumn.warranty_end} > currentdate+30 and {column.warranty_end}<= currentdate +60 then
"Between 30 - 60 days"
else if{column.warranty_end} > currentdate+60 and {column.warranty_end}<= currentdate +90 then
"Between 60 - 90 days"
else if{column.warranty_end} > currentdate+90 and{column.warranty_end}<= currentdate +365 then
"Between 90 days and 1 year"
else if{column.warranty_end} > currentdate+365 and {column.warranty_end}<= currentdate +730 then
"Between 1 - 2 years"
else if{column.warranty_end} > currentdate+730 then
"greater than 2 years"
else if isnull({column.warranty_end}) then
"no warranty"
else
"Warranty Expired"
** for this too I will need to break this up in to two column graphs one for those computers that are important and a second column graph for those that are "not important"
The grouping too in the details section of the reports would have to be similar with the first part of the details report showing important computers information followed by the second part showing UN-important computers.
Any advise is very much appreciated.
Regards
Jk
I have 100 computers which need to show warranty info which I have done the following(this works for me)
if isnull({table.column})then
"computers having NO warranty INFO"
else if {table.column} <= CurrentDate then
"computers that have Warranty Expired"
else
"computers having Warranty NOT expired"
An additional requirement came up for which I need:
"Computers that are important = YES"
Computers that are important ---> field name and "YES" would be the default value.
Question is: can i add this new requirement to the original formula ?
Presently I am using one pie chart show three divisions:
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
Now I will need to display the same as above but now I will need ** TWO pie charts.
Important computers
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
UN-important computers:
1)computers having no warranty info
2)warranty expired
3)Warranty NOT expired.
**** can i add to the original formula:
({Computers that are important = YES})" and
if isnull({table.column})then
"computers having NO warranty INFO"
else if {table.column} <= CurrentDate then
"computers that have Warranty Expired"
else
"computers having Warranty NOT expired
********** Second related Requirement *********
For the computers that have warranty expired which of the computers have warranty expired within the next 30 days, 60 days and so on.
For this I am using:
if {column.warranty_end}>= currentdate and {v_asset1.warranty_end} <= currentdate+30 then
"Less than 30 days"
else ifcolumn.warranty_end} > currentdate+30 and {column.warranty_end}<= currentdate +60 then
"Between 30 - 60 days"
else if{column.warranty_end} > currentdate+60 and {column.warranty_end}<= currentdate +90 then
"Between 60 - 90 days"
else if{column.warranty_end} > currentdate+90 and{column.warranty_end}<= currentdate +365 then
"Between 90 days and 1 year"
else if{column.warranty_end} > currentdate+365 and {column.warranty_end}<= currentdate +730 then
"Between 1 - 2 years"
else if{column.warranty_end} > currentdate+730 then
"greater than 2 years"
else if isnull({column.warranty_end}) then
"no warranty"
else
"Warranty Expired"
** for this too I will need to break this up in to two column graphs one for those computers that are important and a second column graph for those that are "not important"
The grouping too in the details section of the reports would have to be similar with the first part of the details report showing important computers information followed by the second part showing UN-important computers.
Any advise is very much appreciated.
Regards
Jk