Multi-selected records in a form?

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

Guest

Hi,

How can I make some operations on records that are multi-selected on a form?
I found the possibility for a listbox. Listbox1.Selected does the job. Is
there a corresponding way to do something like Me.SelectedRecords or similar?

Thanks
Kamil
 
Kamil said:
How can I make some operations on records that are multi-selected on a form?
I found the possibility for a listbox. Listbox1.Selected does the job. Is
there a corresponding way to do something like Me.SelectedRecords or similar?


You will have toi create a mechanism to indicate which
on=nes are selected. In a single user database, this is
usually done by adding a Yes/No field to the table. Use an
Update query to clear all the records when the form opens.

An alternative that is quite nice is Albert's Multi Select
Example at:
http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
 
Thanks Marshall,

I was rather looking for a possibility to choose records by clicking on the
record-selector and darkening several of them at the same time. Maybe this
feature doesn't exist.

Albert Kallal's page was full of goodies. Thanks for the tip.

Kamil
 
There is no built in mechanism for selecting random records
in a form. You can select a contiguous block in
datasheet/continuous view and use the form's SelTop and
SelHeight properties to figure out the start and how many
were selected, but that's useless for randomly selecting
records.
 

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