Montana751
Programmer
Crystal XI
In Crystal 8.5, I was able to manually modify my SQL WHERE clause, my typically modification was;
WHERE blah blah blah //generated by Crystal Select Expert
//then I manually type in the following via Show SQL Statement:
AND AccountBalance.DateX = (SELECT Max(DateX) FROM AccountBalance AB2 WHERE AB2.AccountId = Account.Id)
Since I can no longer manually add to the SQL statement, how can I add "AND AccountBalance.DateX = (SELECT Max(DateX) FROM AccountBalance AB2 WHERE AB2.AccountId = Account.Id)" to my reports Where clause?
I tried using a SQL expression, but have no clue what I am doing. Any help would be appreciated. thanks
In Crystal 8.5, I was able to manually modify my SQL WHERE clause, my typically modification was;
WHERE blah blah blah //generated by Crystal Select Expert
//then I manually type in the following via Show SQL Statement:
AND AccountBalance.DateX = (SELECT Max(DateX) FROM AccountBalance AB2 WHERE AB2.AccountId = Account.Id)
Since I can no longer manually add to the SQL statement, how can I add "AND AccountBalance.DateX = (SELECT Max(DateX) FROM AccountBalance AB2 WHERE AB2.AccountId = Account.Id)" to my reports Where clause?
I tried using a SQL expression, but have no clue what I am doing. Any help would be appreciated. thanks