FROM log.BusinessValidateEvents order by BatchID Desc;
NoConcatenate Load BatchId,
Resident AllOpenPoints where BatchID='$(vLatestBatch)';
For some reason, I'm getting a "Field Not Found" error for BatchID every time I try to use it. However, it *is* pulling in data successfully! I've gotten nothing useful by running it in debug mode, I copied and pasted the code into a text editor to ensure there weren't any invisible characters around the field name... What could be causing this?
Are you spelling the field right? Note that QlikView is case sensitive for field names as well, but the driver may allow you to send the SELECT statement in either upper or lowercase, but QlikView will take the original name in the source. In the variable you look for BatchID, but in the RESIDENT you load BatchId (the final "d" is lowercase).