Its me again.
why do you want to use already existing function abs()?
This makes your life easier.
/*/
return Abs(InventJournalTrans_Qty)will return the absolute ( positve ) value.
/***
1. Are you sure that you have specified the datamethod and the data source ( in the field properties ) for this function?.
2. After that, can you reset the compilation errors to see the refreshed errors.
3. It may be required to modify the code as below.
/*
Bob
I see nothing wrong with the method away from the bracket that comes before you assign a value to the variable result.[EMAIL PROTECTED] wrote:
Hi All,I am trying to convert a negative number to positive for a report and amgetting errors:1-Unknown source for data method Quantity2-Operand Ty
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Sent: woensdag 20 oktober 2004
3:49To: [EMAIL PROTECTED]Subject:
[Axapta-Knowledge-Village] X++ to Convert Negative to
Positive
Hi All,I am trying to
convert a negative number to positive for a report and amgetting
errors:1-Unknown
Hi All,
I am trying to convert a negative number to positive for a report and am
getting errors:
1-Unknown source for data method Quantity
2-Operand Types are not compatible with the operator.
Can anyone tell me what I am doing wrong? InventJournalTrans_Qty is a field
in my report.
My method
5 matches
Mail list logo