[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: OSCON

Dan Sugalski

10/9/2003 5:05:00 PM

2 Answers

Arne

1/21/2010 12:46:00 PM

0



static void Job54(Args _args)
{
ASMHelpdesktable asm;

;

select firstonly asm;

//works

info("first only " + (asm.RecId ? "ok" : "NA"));

select count(recid) from asm;

//works

info("count " + (asm.RecId > 0 ? "ok" : "NA"));

//results in fatal error closing down the client and
//generates an error report to be sent to Microsoft

select asm
where asm.CustAccount == '99999';

info("claus " + (asm.RecId ? "ok" : "NA"));

//results in fatal error closing down the client and
//generates an error report to be sent to Microsoft

asm = ASMHelpDeskTable::find('N0603-1022');

info("claus " + (asm.RecId ? "ok" : "NA"));
}

Arne

1/22/2010 6:51:00 AM

0

Made it work again.

Seems the tabel in some way was badly interpreted by AX.

Exported the data, exported the table into an xpo, truncated the data,
deleted the table. Compiled the application, lots of errors of course because
of the table gone.

Imported the table xpo, imported the data again, fixed all the loose ends
compile errors, and everything works perfect.