A
Andy
I need to create a query within VBA using the INSERT INTO construct that
combines a value from a variable varz with selected values - something like :-
INSERT INTO tblx ( Field1, Field2, Field3)
SELECT varz, [tbly].Field2, [tbly].Field3
FROM [tbly];
This would hopefully append all rows from table tbly into tblx but with the
contents of variable varz in Field1 in each new row.
The example above doesn't work but it must be close - Can you help?
Thanks.
combines a value from a variable varz with selected values - something like :-
INSERT INTO tblx ( Field1, Field2, Field3)
SELECT varz, [tbly].Field2, [tbly].Field3
FROM [tbly];
This would hopefully append all rows from table tbly into tblx but with the
contents of variable varz in Field1 in each new row.
The example above doesn't work but it must be close - Can you help?
Thanks.