Query & Dialog Örnekleri 1

Merhaba

Örenk 1:

static void query1(Args _args)
{
    CustTable   cust;

    Query       q = new Query();
    QueryRun    qr;

    ;
    warning(“select ile”);
    while select cust
    {
        info(strFmt(“%1″, cust.Name));
    }

    //————————————–
    warning(“Query ile”);

    q.addDataSource(tableNum(CustTable));
    qr = new QueryRun(q);

    while(qr.next())
    {
        cust = qr.get(tableNum(CustTable));
        info(strFmt(“%1″, cust.Name));
    }

}

 
Comment are closed.