Solved Datasheet is selecting more then one record (1 Viewer)

silentwolf

Active member
Local time
Today, 03:01
Joined
Jun 12, 2009
Messages
575
Hi again,

When I select a record in the datasheet view the form selects sometimes more then one record.

Does anyone know what cause this issue?

Cheers
 

jdraw

Super Moderator
Staff member
Local time
Today, 06:01
Joined
Jan 23, 2006
Messages
15,394
Please show the SQL of your Select query. It sounds like you are not selecting on some unique attribute.
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 05:01
Joined
Feb 28, 2001
Messages
27,320
jdraw beat me to it. An SQL SELECT statement won't return a single record unless (a) that's all you've got or (b) your WHERE clause specifies some attribute uniquely. Otherwise, SELECT returns a set of records - which is why you deal in recordsets with Access.
 

Gasman

Enthusiastic Amateur
Local time
Today, 11:01
Joined
Sep 21, 2011
Messages
14,449
I read that to be selecting one record in a datasheet, yet for some reason two are selected, but I did not even know that could be done.
 

silentwolf

Active member
Local time
Today, 03:01
Joined
Jun 12, 2009
Messages
575
Hi,

thanks for your input.
I believe it had something to do with the mouse rather then something with my code.
Now it seams to work again.

So I keep you posted if there is it again.

Cheers
 

isladogs

MVP / VIP
Local time
Today, 11:01
Joined
Jan 14, 2017
Messages
18,258
Please provide a screenshot showing this if it recurs
 

Users who are viewing this thread

Top Bottom