Hi James, Have you initialized ur set with Int64 or Integer. Please check that.
Ur code should look like this Set xyz = new Set(Types::Int64); Regards, Sumit On Fri, May 16, 2008 at 11:51 AM, James Flavell <[EMAIL PROTECTED]> wrote: > Can anyone help me to fix a problem in AX4.0 realted to Int64 and SETs > > I have some code that does the following: > > SET xyz; > SalesLine salines; > ; > > if (!xyz.add(saleslinerecid)) > > > It gives an error that it was expecting an int and not an Int64 > I understand the RecId is now Int64 but do not know how to get a SET object > to accept it... > > Thanks > James > > > >