H harrisw Registered User. Local time Today, 07:28 Joined Mar 27, 2001 Messages 131 Apr 10, 2003 #1 I'm using the code below For x = 1 To 10 DBase.Execute "ALTER TABLE Results ADD COLUMN TEST(x) TEXT;" Next x Keep getting syntax errors. Any ideas?
I'm using the code below For x = 1 To 10 DBase.Execute "ALTER TABLE Results ADD COLUMN TEST(x) TEXT;" Next x Keep getting syntax errors. Any ideas?
J Jacob Mathai Registered User. Local time Today, 07:28 Joined Sep 6, 2001 Messages 546 Apr 10, 2003 #2 try DBase.Execute "ALTER TABLE Results ADD COLUMN TEST " & x & " TEXT"
J Jacob Mathai Registered User. Local time Today, 07:28 Joined Sep 6, 2001 Messages 546 Apr 10, 2003 #3 Correction : DBase.Execute "ALTER TABLE Results ADD COLUMN TEST" & x & " TEXT"