Somehow I thought that you want to increment a value from a field.
The only way I know how to do the TOP N is to edit the SQL or change
the
number on the icon bar in design view.
:
Again, thanks for following me on this. I want to select a number of
records
with a query. Let's say the first 5 listed, or the first 7 listed. I
have
no
[YourField] to use +1 with. CLear as mud?
-JS
My post was not SQL but was query grid criteria. It would be in the
WHERE
statement of the SQL.
WHERE [YourField] = [Forms]![YourForm]![YourTextBox] + 1
:
Thankx for the reply. Do you mean SELECT TOP
[Forms]![YourForm]![YourTextBox] + 1? I get a SQL statement error.
-JS
Use the data from the form as criteria like --
[Forms]![YourForm]![YourTextBox] + 1
The form must be open.
:
I have a [value] I want to pass on to a query that will select
next
[value]
records. Currently this [value] is in a form, but I can pass it
on
other
ways if needed. Can I use LIMIT? SELECT TOP "N" works fine, but
I
need
to
insert a [value], not "N". Help? TIA!
-JS