Clear Column in Table

Lenny_821

New member
Local time
Today, 10:24
Joined
Sep 14, 2005
Messages
9
Hi All,

How can I clear the data from a specific Column within a Table?

Lets say; Table name is "Test", Column 1 is named "A" and Column 2 is named "B". And I only want the clear the data in column "B".

The record count I've got is over 130.000, so if there's a quick and easy way then I am all ears:)

Lenny
 
I would use and ADODB command with the SQL string:

DELETE B FROM Test
 
Do you have a more complete VBA code, because I am not so skilled with that.

Thanks.

Lenny
 
Dim strSQL As String
strSQL = "UPDATE test SET test.b = '';"
DoCmd.RunSQL strSQL


???
 

Users who are viewing this thread

Back
Top Bottom