I have a Search and Report Datapage in which I need to selectively display certain fields.
More specifically, each record has a fuel_type field. If this fuel_type is set to Oil, I need to display the associated Oil Price in the report. If fuel type is set to Natural Gas I need to display Natural Gas Price and if fuel_type is Kerosene, I need to display Kerosene Price.
e.g. if (fuel_type == Oil)
{
show Oil_price;
}
else if (fuel_type == Natural Gas)
{
show Natural_gas_price;
}
else
{
show Kerosene_price;
}
I think there is a way to do this with Rules & Criteria. Can someone please guide me? Thanks in advance.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
maverick
I have a Search and Report Datapage in which I need to selectively display certain fields.
More specifically, each record has a fuel_type field. If this fuel_type is set to Oil, I need to display the associated Oil Price in the report. If fuel type is set to Natural Gas I need to display Natural Gas Price and if fuel_type is Kerosene, I need to display Kerosene Price.
e.g. if (fuel_type == Oil)
{
show Oil_price;
}
else if (fuel_type == Natural Gas)
{
show Natural_gas_price;
}
else
{
show Kerosene_price;
}
I think there is a way to do this with Rules & Criteria. Can someone please guide me? Thanks in advance.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.