>I have run into problems in creating a records database for a scout group I
>work with.
[quoted text clipped - 46 lines]
>
> End Sub
A filter should be just the WHERE clause of an SQL statement (without the
word WHERE). Remove everything up to and including WHERE and try that.
An alternative is to actually change the RecordSource of the subform. In
that case, the full SQL statement would be used.
Carl Rapson
Andy - 16 May 2007 08:17 GMT
> A filter should be just the WHERE clause of an SQL statement (without the
> word WHERE). Remove everything up to and including WHERE and try that.
>
> An alternative is to actually change the RecordSource of the subform. In
> that case, the full SQL statement would be used.
Thanks for the reply.
I did try to change the child item of the subform to a query an
prgramatically changing that underlying query depending upon the tab clicked
but, although the query changes the subform does not refresh.
The extra SQL in the filter is a hangover from that. Bad programming on my
part and a bit embarassing to post it to a global forum for all to see
without deleting it. Oooops.
Andy