Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Reports & Report designer
>Thanks for the reply Mike,
>CrsResult is allready cursor i need just debit - credit action but problem is expressions is long for this or field expression doesnt accept (-) action
Not crsResult. tblCredit.
create table tblDebit (cDebit c(3))
index on cDebit tag cDebit
insert into tblDebit (cDebit) values ('101')
insert into tblDebit (cDebit) values ('104')
insert into tblDebit (cDebit) values ('105')
etc.
Then in grid
IIF(seek(crsresult.fischcode, tblDebit, "cDebit"),,crsresult.amount,0)
Much shorter expression. Now it can have millions of debit codes.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only