Hello Guys,
I have absolutely no experience with VFP but am trying to edit some of our reports (ie invoices, quotations etc).
The expression i am looking at pulls a price from a table (as a number) and then converts (divides by 100) to a currency. I wanted to clean up the code (as to me it seems quite ridicolous) and change the formatting to add comma separation
The old expression was (i think - i cant copy and paste!):
p_oCallingObject.dispunit(.f.,p_oCallingObject.p_currncy,p_oCallingObject.w_fcrate, it_price,"",.t.,.f.,10,.f.,"",.t.)
This is what i cobbled together:
TRANSFORM(it_price/100, '$$$,$$$,$$$.$$')
I would love to know:
a) What exactly the old code is doing?
b) If there is anything wrong / could be improved in my attempt?
I would REALLY appreciate some help
Thank you
I have absolutely no experience with VFP but am trying to edit some of our reports (ie invoices, quotations etc).
The expression i am looking at pulls a price from a table (as a number) and then converts (divides by 100) to a currency. I wanted to clean up the code (as to me it seems quite ridicolous) and change the formatting to add comma separation
The old expression was (i think - i cant copy and paste!):
p_oCallingObject.dispunit(.f.,p_oCallingObject.p_currncy,p_oCallingObject.w_fcrate, it_price,"",.t.,.f.,10,.f.,"",.t.)
This is what i cobbled together:
TRANSFORM(it_price/100, '$$$,$$$,$$$.$$')
I would love to know:
a) What exactly the old code is doing?
b) If there is anything wrong / could be improved in my attempt?
I would REALLY appreciate some help
Thank you