Sorry if I am not being clear, lets say for example the [NET ID] Field is
unique in each record you could change the SQL of your query to:
INSERT INTO GME_users_MGO_access_to_IBC_Inactive ( Plant, Surname,
[First Name], [Net ID], IA, IC, WV1, [Update] )
SELECT
GME_users_MGO_access_to_IBC.Plant,
GME_users_MGO_access_to_IBC.Surname, GME_users_MGO_access_to_IBC.[First
Name], GME_users_MGO_access_to_IBC.[Net ID],
GME_users_MGO_access_to_IBC.IA, GME_users_MGO_access_to_IBC.IC,
GME_users_MGO_access_to_IBC.WV1, GME_users_MGO_access_to_IBC.Update
FROM GME_users_MGO_access_to_IBC, GME_users_MGO_access_to_IBC_Inactive
Where (((GME_users_MGO_access_to_IBC.[Net ID]) =
FORMS![Append_to_Inactive]![NET ID]));
If the [NET ID] is not always different, is there a field or combinations of
fields where the value is?
Hope this makes sense.
Stu
DBAmat said:
if you meen the records yes there all unique records there all
different users
stumac said:
Sorry I meant any of the values within the fields unique?
:
Yes it is displayed on the form no none are unique there the same for
every record in my table!
Thanks btw
stumac wrote:
Is the record you want to append displayed on the form where you are pressing
the command button? Are any of the fields unique to that record?
:
INSERT INTO GME_users_MGO_access_to_IBC_Inactive ( Plant, Surname,
[First Name], [Net ID], IA, IC, WV1, [Update] )
SELECT TOP 1 GME_users_MGO_access_to_IBC.Plant,
GME_users_MGO_access_to_IBC.Surname, GME_users_MGO_access_to_IBC.[First
Name], GME_users_MGO_access_to_IBC.[Net ID],
GME_users_MGO_access_to_IBC.IA, GME_users_MGO_access_to_IBC.IC,
GME_users_MGO_access_to_IBC.WV1, GME_users_MGO_access_to_IBC.Update
FROM GME_users_MGO_access_to_IBC, GME_users_MGO_access_to_IBC_Inactive;
Sorry thats my SQL from the query
stumac wrote:
have you put a where clause in your append query defining what record you
want to be appended?
Can you post the SQL of your query or the code you are using?
Stu
:
How do i append single records by using a button? i tried doing an
append querie but only append rows which i DO NOT want could anybody
help me im using VB in Access 2000
Thanks