Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub tektipsAlterTblTest()
'DoCmd.RunSQL ("DROP TABLE tektips_Table; ")
'Create a table with defined columns and datatypes
DoCmd.RunSQL ("CREATE TABLE tektips_Table " _
& " ( col1 text(20), " _
& " col2 integer)")
'modify col2 to DOUBLE datatype
DoCmd.RunSQL ("ALTER TABLE tektips_Table " _
& " ALTER COLUMN col2 double ")
End Sub
I couldn't agree more.lameid said:[blue] . . . but why wouldn't you just have the table set up ahead of time?[/blue]
TheAceMan1 said:[blue]Why know the datatype you want and make it something else at design time?[/blue]