This is the standard query...
RecordSource = "SELECT usysServer_tblPersons.* FROM usysServer_tblPersons WHERE (((usysServer_tblPersons.Group)=fngsGroup())) ORDER BY usysServer_tblPersons.ID;"
usysServer_tblPersons is a Server table linked to Access with Group/ID as the index.
fngsGroup() is a constant selected earlier in the process.
The other standard query just referred to a View instead.
The passthrough was very similar, but of course had a connection string to the server.
RecordSource = "SELECT usysServer_tblPersons.* FROM usysServer_tblPersons WHERE (((usysServer_tblPersons.Group)=fngsGroup())) ORDER BY usysServer_tblPersons.ID;"
usysServer_tblPersons is a Server table linked to Access with Group/ID as the index.
fngsGroup() is a constant selected earlier in the process.
The other standard query just referred to a View instead.
The passthrough was very similar, but of course had a connection string to the server.