hi
there is not a specific function to return the maximum value of a field/data type, i think
check the data type you are using to know the range
if you want to know the max value in a field from a table, create a new key using your field and change your sorting using that key...
Couldn't you make your own function to loop thru the records
if vMaxValue < "your integer"
then vMAxValue := "Your Integer";
at the end vMaxValue should have the largest #? :-k
Answers
like decimal = range between -999.999.999.999.999,99 - 999.999.999.999.999,99
like integer = range between -2147483647 - 2147483647
or the highest value are stored in your recs like under sql?
ERP Consultant (not just Navision) & Navision challenger
there is not a specific function to return the maximum value of a field/data type, i think
check the data type you are using to know the range
if you want to know the max value in a field from a table, create a new key using your field and change your sorting using that key...
regards
so far, so good
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
In my opinion the integer Table has only stored the data between - 1000000000 and 1000000000
:oops:
Thanks, never noticed that, never needed it... 8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Couldn't you make your own function to loop thru the records
if vMaxValue < "your integer"
then vMAxValue := "Your Integer";
at the end vMaxValue should have the largest #? :-k
http://www.BiloBeauty.com
http://www.autismspeaks.org
Documentation()
Sales Line - OnPreDataItem()
MaxAmt := 0;
Sales Line - OnAfterGetRecord()
REPEAT
Amt := "Sales Line"."Line Amount";
IF Amt > MaxAmt THEN
MaxAmt := Amt
UNTIL "Sales Line".NEXT = 0;
Sales Line - OnPostDataItem()
glad it works!
http://www.BiloBeauty.com
http://www.autismspeaks.org