Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

currency fields in Dialog programming

Former Member
0 Likes
466

Hi,

I have 2 currency fields in screen. Initial cost and Total cost.

total cost is a display field. and its value is

total cost = initial cost * time taken.

My problem when i put the initial cost as zero and total cost is coming up zero. and when i go to next screen and come back to the same screen the inital cost is becoming blank. but if i give initial cost as 20 and final cost is caluculate and coming up and when i go to the next screen its not geeting erased. The inital cost should take the value 0 it should not get erased.

Thanxs

Juli.

2 REPLIES 2
Read only

Former Member
0 Likes
384

I'm a bit confused by the question since a currency field will normally show as blank in input mode if it has a value of zero...

Jonathan

Read only

Former Member
0 Likes
384

It may be due to some mistakes in your program. Actually it willn't erased. Make sure that your Intial Cost field should be declared in the top include.