Good Day All,
Can someone explain why this code results in no records returned when the table has several records. And if the criteria is excluded all the records are returned.
Can someone explain why this code results in no records returned when the table has several records. And if the criteria is excluded all the records are returned.
Code:
Set rst = curDatabase.OpenRecordset("Cash posting Sub Table", "[mainPostingID] =" & 7)]