Skip links

Query & Dialog Örnekleri 3


Notice: Trying to access array offset on value of type bool in /var/www/vhosts/dmrbt.com/httpdocs/wp-content/themes/boo/rella/extensions/aq_resizer/aq_resizer.php on line 117

Notice: Trying to access array offset on value of type bool in /var/www/vhosts/dmrbt.com/httpdocs/wp-content/themes/boo/rella/extensions/aq_resizer/aq_resizer.php on line 118

Notice: Trying to access array offset on value of type bool in /var/www/vhosts/dmrbt.com/httpdocs/wp-content/themes/boo/rella/extensions/aq_resizer/aq_resizer.php on line 117

Notice: Trying to access array offset on value of type bool in /var/www/vhosts/dmrbt.com/httpdocs/wp-content/themes/boo/rella/extensions/aq_resizer/aq_resizer.php on line 118
Query & Dialog Örnekleri 3

Merhaba
static void query3(Args _args)
{
CustTable   cust;
Query                   q = new Query();
QueryRun                qr;
CurrencyCode            currency;
;
currency = “USD”;
warning(“select ile”);
while select cust
where cust.Currency == currency
{
info(strFmt(“%1”, cust.Name));
}

//————————————–
warning(“Query ile”);
q.addDataSource(tableNum(CustTable));
q.dataSourceTable(tableNum(CustTable)).addRange(fieldNum(CustTable, Currency)).value(sysQuery::value(currency));
qr = new QueryRun(q);
while(qr.next())
{
cust = qr.get(tableNum(CustTable));
info(strFmt(“%1”, cust.Name));
}
}

Join the Discussion