B
Basil
This is a different query to the one below (the memory is
the biggest issue now on that one):
Problem now is that the VBA doesn't like some SQL that
should work:
DoCmd.RunSQL "DELETE [" & TableName & "].* FROM [" &
TableName & "];"
This is what it gives:
Run-time error 3126. Invalid bracketing of name 'Booked
List'.
This has happened when TableName is 'Booked List' (If I
don't put the brackets it will not identify 'Booked' as a
table and create a different error.
When I just create the query it gives identical code to
what this text should produce and works. Any ideas?
Many thanks for all your efforts,
Basil
the biggest issue now on that one):
Problem now is that the VBA doesn't like some SQL that
should work:
DoCmd.RunSQL "DELETE [" & TableName & "].* FROM [" &
TableName & "];"
This is what it gives:
Run-time error 3126. Invalid bracketing of name 'Booked
List'.
This has happened when TableName is 'Booked List' (If I
don't put the brackets it will not identify 'Booked' as a
table and create a different error.
When I just create the query it gives identical code to
what this text should produce and works. Any ideas?
Many thanks for all your efforts,
Basil