Re: query not going as planned
- From: justin_vasko <justinvasko@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 05:56:07 -0700
it's still requiring me to go through the blank records, to get to the
results...
is the fact that it's a subform causing this perhaps?
i realize i may have just nailed the coffin shut forgetting that
information...
"John Vinson" wrote:
> On Mon, 25 Jul 2005 10:25:03 -0700, justin_vasko
> <justinvasko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >this is the SQL view of my query
> >
> >
> >SELECT records.ID, records.EntryDate, records.ExpiryDate,
> >records.CaseWorkerFirstName, records.CaseWorkerLastName, records.CaseRemarks
> >FROM records
> >WHERE (((records.ID)=[txtID].[value]))
> >ORDER BY records.ID DESC;
>
> Try changing the WHERE clause to
>
> WHERE ((([Records].[ID]) = [Forms]![NameOfYourForm]![txtID]))
>
> I don't have ANY idea why what you have should work at all, much less
> why it's bringing up blank records!
>
> John W. Vinson[MVP]
>
.
- References:
- query not going as planned
- From: justin_vasko
- Re: query not going as planned
- From: John Vinson
- Re: query not going as planned
- From: justin_vasko
- Re: query not going as planned
- From: John Vinson
- query not going as planned
- Prev by Date: compare one field to another
- Next by Date: Update Queries
- Previous by thread: Re: query not going as planned
- Next by thread: Re: query not going as planned
- Index(es):
Relevant Pages
|