I have a macro that will cycle through a number of folders and I want to add
some code to change the field size for a database in each folder.
Any help getting started would be appreciated. Thanks for the help.
--
JT
--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
"JT" <J...@discussions.microsoft.com> wrote in message
news:00423B3B-AAD7-4E7F...@microsoft.com...
-- Code snippet --
Dim dbAny as DAO.Database
Dim strSQL as String
strSQL = "ALTER TABLE Data ALTER COLUMN Instruction TEXT(250) "
Set Dbany = CurrentDb()
DbAny.Execute strSQL, dbFailonError
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
"Alex Dybenko" <ale...@PLEASE.cemi.NO.rssi.SPAM.ru> wrote in message
news:epgnmx4J...@TK2MSFTNGP05.phx.gbl...
Never tried to do so via DDL, will try!
--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
"John Spencer" <spe...@chpdm.edu> wrote in message
news:ebEje94J...@TK2MSFTNGP05.phx.gbl...