i want to simply divide one field by another using formcalc or java and have the results in a % in another field. I want to divide PaymentTotal by the MonthlyTotal fields and have the result reflected in a % in the DTI field.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Anytime you are dividing by a object's value it is worth checking it is not null or 0.
if (MonthlyTotal.rawValue != null || MonthlyTotal.rawValue != 0)
{
this.rawValue = PaymentTotal.rawValue / MonthlyTotal.rawValue;
}
else
{
this.rawValue = null;
}
Views
Replies
Total Likes
Hi,
Anytime you are dividing by a object's value it is worth checking it is not null or 0.
if (MonthlyTotal.rawValue != null || MonthlyTotal.rawValue != 0)
{
this.rawValue = PaymentTotal.rawValue / MonthlyTotal.rawValue;
}
else
{
this.rawValue = null;
}
Views
Replies
Total Likes
That is very helpfull thanks. One question....
How do you see the white area? in another application or in code somehow? i want to be able to recognize it in the future.
Views
Replies
Total Likes
Hi,
When you start a new form in LC Designer the top node is "form1" (you can change this to a different name if you want). You are starting off with a blank canvas and you can see the grid.
When you import an existing document, the hierarchy will start off with "topmostSubform". The name isn't important, it just indicates that the form may have been imported.
In your current form there is a white background over the whole page that cannot be selected and cannot be deleted. This is not a huge problem in itself. It just means that you cannot see the grid.
When I select the page content area I can see that there is no fill, yet there is a background because the grid is not visible.
I think that in most cases it is nearly better to create a form in LC rather than importing (personal view). Depending on how you import an existing document you may end of with less functionality. Check out the help file for further info.
Good luck,
Niall
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies