tatscub
Member
Hello Everyone I have come across an interesting issue I haven’t had to tackle in JDE before and I'm hoping someone can give me a kick in the right direction
what i would ideally like to do is something like a SQL count statement if its possible to read back the number of rows in a table that have one field with the same value i.e select into variable foo the number of rows that have field x = bar where the key is bla bla bla . and then use that in my code to say if foo is >1 then go off and do stuff . I would be very grateful for any help and advice any one can give me
Thanks
Charlie
what i would ideally like to do is something like a SQL count statement if its possible to read back the number of rows in a table that have one field with the same value i.e select into variable foo the number of rows that have field x = bar where the key is bla bla bla . and then use that in my code to say if foo is >1 then go off and do stuff . I would be very grateful for any help and advice any one can give me
Thanks
Charlie