Questa è una traduzione automatica. Il messaggio originale è disponibile in Inglese.

SETFILTER

void SETFILTER(string FieldName, 
  string Filter = "", 
  string replaceString1,
  string replaceString2, 
  ...);

Utilizzare questa funzione per impostare un filtro.

This is wrong:
SalesHeader:SETFILTER('Posting Date', 
    '14.03.2014..');

La stringa di filtro deve contenere solo operatori logici e/o parametri %1, %2, ma nessun dato. Inserite sempre i dati negli argomenti.

SalesHeader:SETFILTER('Posting Date','%1..', 
  FromDate);

Impostare un filtro a partire dal valore FromDate.

SalesHeader:SETFILTER('Posting Date','..%1', 
  ToDate);

Impostare un filtro che termina con il valore ToDate.

SalesHeader:SETFILTER('Posting Date', '%1..%2', 
  FromDate, ToDate);

Impostare un filtro a partire da FromDate fino a ToDate