Perhaps you meant num2str instead of str2num since there are 5 parameters
in your email. If parameters are 5,0,0,0 after the number, then you are
saying that the result will have 5 characters, zero decimals, and no
separators (either for decimal or for thousands). The str2num function has
only
Hello
num2str(Var,5,0,0,0);
This will always return only the
It will transform any real number into a 5 digits max lenth string
with no separator and no decimal.
Look at the arguments for num2str function :
num2str({realVar},int number,int decimal,int sperator1,int separator2]
Thus, you should
hi Amit,
thank U very much for the help... at first i tried with 3-tier ..may be
that's y i was getting this error ...today we tried with 2-tier and we also
installed kernel roll up -3..and now its working ...i will let u all know if i
am getting any more problems once again thans
Use SysQuery::countTotal
Example:
query = new Query();
queryBuildDataSource = query.addDataSource(tableNum(EmplTable));
queryRun = new QueryRun(query);
info(int2str(SysQuery::countTotal(queryRun));
From:
Both way works
It's a little weird, but if you do this :
static void AnyThing(Args args[])
{
select count(recId) from myTable;
info(strfmt(%1,myTable.recId));
}
the field recId will hold the count. but I still prefer to use the CountTotal
as Hentz said
- Original Message -
oh, misunderstood your doubt.. sorry... just noticed !
- Original Message -
From: André Santos
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Thursday, January 15, 2009 6:03 PM
Subject: Re: [Axapta-Knowledge-Village] Re: record count
Both way works
It's a little
I think this is a nice solution. Just pass the table buffer as type common to a
parameter to a method.
CustTable tCustTable;
Common tCommon = tCustTable;
;
select count(RecId) from tCommon;
info(strfmt(%1, tCommon.RecId));
Regards,
Varden Morris
Hii All
I need to know that in AX can I specify or use the print management with the
users. Like I want one user who is financial manager should print the
original reports and the other who is assistance should always print the
copy of the reports..
Is it possible. Any help would be highly
Hi all,
Could anybody tell is there any way to enter cheque number manually in AX 4.0
sp2 in payment entry.
Thanks in advance
Regards
Varun
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
Hi Axapta-Knowledge-Village,
I set up a Facebook Profile where I can post my pictures, videos and events and
I want to add you as a friend so you can see it. First, you need to join
Facebook! Once you join, you can also create your own profile.
Thanks,
Pankaj
To join Facebook, please use the
10 matches
Mail list logo