I have a VBA created for a report that extracts info from a SQL and table and works fine. I wanted to test it to bring in another field and I cannot understand why the VBA is failing
The message translates into that the column HOURS_I is invalid. But the column exists. If I run the query in Studio Management I correctly get a single value.
Not sure why the error. Another puzzling thing is it works with the original SQL Field called compbal. I just replace the query/table and want to insert the value to HRAttendVacUsed calculated field. There is no issue with calculated field - not sure why it is erroring out on HOURS_I column.
Thanks