Current Balance of my Accounts

GRM Reports Build and share your cool customized reports built w/ SQL, JS and Lua

Moderator: Renato

adamlylegallagher
New User
Posts: 8
Joined: Wed Nov 08, 2017 1:31 am
Are you a spam bot?: No

Re: Current Balance of my Accounts

Post by adamlylegallagher »

I'm pretty sure it is something easy like replacing Line 8 with something like this:

WHERE c1.STATUS NOT IN ('V') AND c1.TRANSDATE < '2025-09-01'

But that doesn't work for me and I don't know why?

Thanks!
Adam
adamlylegallagher
New User
Posts: 8
Joined: Wed Nov 08, 2017 1:31 am
Are you a spam bot?: No

Re: Current Balance of my Accounts

Post by adamlylegallagher »

Oh My God. I pasted it into chatgpt and it instantly told me exactly what I was doing wrong and how to fix it. ChatGPT is the greatest thing on earth.

I had to add both:

AND c1.TRANSDATE < '2025-09-01'

To the first section.

And also:

AND c2.TRANSDATE < '2025-09-01'

To the second section.

How is chatgpt that amazing? My mind is blown every day with it.

Who is online

Users browsing this forum: Claude [Bot] and 0 guests