Application Development 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: 

currency fields in Dialog programming

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.