Re: Refer to the first row of the table
- From: "Dirk Goldgar" <dg@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Aug 2007 13:06:26 -0400
In 76c9ea6dc6e2e@uwe">news:76c9ea6dc6e2e@uwe,
samotek via AccessMonster.com <u15330@uwe> wrote:
Thank you fo your reply. Your suggestion seems to me as a solution.I
get however the error "Too few parameters".What may be the reason ?
If you just copied my code, it could be because there's not actually any
field in your table named "WhenCreated". The code example I gave was
based on the idea that there is such a field in the table, containing
the date/time the record was created. If there's no such field in your
table, you have to either find a field that *is* in your table and is
suitable for sorting to find out which record is "first", and then
change the code to refer to that field, or else create such a field and
ensure that it is populated with the appropriate values.
If you think you did that, and you still got the error, then most likely
you misspelled the name of a field. As far as Access is concerned, any
name in a query that it doesn't recognize must be a parameter, so it
gives that error telling you that you didn't provide a value for it.
But really, it's more likely that it just didn't recognize the field
name because you spelled it wrong.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
.
- Follow-Ups:
- Re: Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- References:
- Refer to the first row of the table
- From: samotek via AccessMonster.com
- Re: Refer to the first row of the table
- From: Dirk Goldgar
- Re: Refer to the first row of the table
- From: samotek via AccessMonster.com
- Refer to the first row of the table
- Prev by Date: Re: Refer to the first row of the table
- Next by Date: Re: Syntax of quotes?
- Previous by thread: Re: Refer to the first row of the table
- Next by thread: Re: Refer to the first row of the table
- Index(es):
Relevant Pages
|