In the studio, I’m trying to perform a SELECT on a specific field in a table. I need to retrieve the value of this field to then increment it and perform an UPDATE on the database with the number of business and systems. However, every time I run the SELECT, it returns 0. When I run the same query directly in Access, it works correctly and returns the expected value.
Can you try to using this in log message and check how the query looks…
May be it is not same as what you are usinng on access directly
Cheers
2 Likes
Hello
Use breakpoints and Locals panel to check if your variables have the desired (correct) value.
Regards
Soren
2 Likes
I was using the wrong activity; I used ExecuteNonQuery (Run command) but should have used ExecuteQuery (Run query). It works correctly with ExecuteQuery (Run query).
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.