runtime error 2105 (1 Viewer)

gizmogeek

Registered User.
Local time
Today, 08:03
Joined
Oct 3, 2007
Messages
95
Okay Bob now it looks like I can add new records. However, with the first statement SELECT Clients.*, [Attachment].FileName FROM Clients; I have 69 records and now I only have 53.
 

boblarson

Smeghead
Local time
Today, 05:03
Joined
Jan 12, 2001
Messages
32,059
Okay Bob now it looks like I can add new records. However, with the first statement SELECT Clients.*, [Attachment].FileName FROM Clients; I have 69 records and now I only have 53.

Yep, and that is because you have more than one attachment for some records. The * will include the attachment field properly so that you can add/delete, etc. from that field. The only time you want to use Attachment.FileName is when you have a query for a Report or some other query which you do not need to have it be updateable.
 

gizmogeek

Registered User.
Local time
Today, 08:03
Joined
Oct 3, 2007
Messages
95
Thanks so much Bob!! Now I can get back to my regular project.
 

Users who are viewing this thread

Top Bottom