Change to

    ItemId     strItemId;
    ;
    ret = super();

    strItemId = hndItemId.toString();
    select firstonly SalesTable where SalesTable.SalesId == strItemId;

/Jens
-----Oprindelig meddelelse-----
Fra: [email protected]
[mailto:[EMAIL PROTECTED] vegne af jetjockey.geo
Sendt: 22. januar 2006 04:05
Til: [email protected]
Emne: [development-axapta] Development IV



Hi guys,

I'm working towards the development cerification. My company has given
me the MBS Axapta 3.0 training manuals and I'm trying to create the
POS application in ch 1. If anyone can point me to a copy of
ax30_enit_deviv_02.xpo, which I haven't received, that would be ideal.
Failing that, I'm tring to retrieve a record from a table when the
Sales ID is entered, with the following code in the Leave() function
of the StringEdit control:

    str     strItemId;
    ;
    ret = super();

    strItemId = hndItemId.toString();
    select firstonly SalesTable where SalesTable.SalesId == strItemId;

which generates an error:

Container and unbounded string (text) fields are not allowed in a
WHERE _expression_.

I've tried various other methods, too but can't make anything work.
Any suggestions about how to do this would be appreciated.

Thanks,

   Gary.








Yahoo! Groups Links












SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to