selecting records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to select some records randomly for the purpose of printing.

I tried to use Ctrl, but it didn't work, and shift select the records
between the first selection and the last.

can any one help me please?

Thanks
 
Use a list box or add a yes/no field or add the primary key to a temporary
"Print Me" table or build a list of primary key values in a text box like:
12, 134, 87, 44
I prefer the List Box but it requires a little coding.
 
SELECT fields
FROM tables
WHERE primary key IN (123, 345, 278) Use whatever values you need to match.
 
Could you please explain a bit more ?

Fred said:
SELECT fields
FROM tables
WHERE primary key IN (123, 345, 278) Use whatever values you need to match.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top