HELP - probably simple question but..

abartonicekabartonicek Member Posts: 162
edited 2005-11-24 in Navision Attain
I have code that looks like this:
JobLedgerEntry.SETFILTER("Document No.",MyNumber);
JobLedgerEntry.SETFILTER(JobLedgerEntry."Unit of Measure Code",'Piece');

IF NOT JobLedgerEntry.FIND('-') THEN    
  EXIT
ELSE
  ...

JobLedgerEntry is record of subtype Job Ledger Entry (table 169).

When I run the code it can't find that first record (EXIT is allways executed) allthough I know that after setting those filters I have 2 records in table 169.

I'm I missing something or... ](*,)
Better to be critical then self-critical :)

Answers

Sign In or Register to comment.