if (_custInvoiceTrans.CustAccount >= 50830 || <= 50834)
dynamics throw operatortype is not compatible with the operator? how can i write this right and how i can do it better
if (_custInvoiceTrans.CustAccount >= 50830 || <= 50834)
dynamics throw operatortype is not compatible with the operator? how can i write this right and how i can do it better
Hi,
Did you try && instead of || ?
regards,
Thomas
Hi Thomas,
i tryed && but i doesn’t works…
may be ((_CustInvoiceTrans.CustAccount >= 50830) && (_CustInvoiceTrans.CustAccount <= 50834)) ?
no same Problem
I don’t understand, I tested the following code :
CustTable CustTable;
;
while select CustTable
{
if(CustTable.AccountNum >= ‘MD0000003’ && CustTable.AccountNum <= ‘MD0000009’)
{
info(strfmt("%1",CustTable.AccountNum));
}
}
it works perfectly
Im a noob forgot “while select”
thank you for your help!
best reguards!!
you’re welcome, don’t forget to verify solution
regards,
Thomas