Microsoft
Software
Hardware
Network
Question : Set DAO MDB Text Field Size
Hi,
I'm creating new Field on the lly, as required, but need to set a Text Field size from the default 255.
This doesn't work:
fld.Properties("Field Size").Value = 20
Does anyone know how to make it happen?
Using DAO 3.6 / VB6 Classic.
Thanks.
Answer : Set DAO MDB Text Field Size
I've always used a query to build the database and used the syntax...
"Field_Name TEXT(20)"
As an example, I found this random page with a google search...
http://allenbrowne.com/fun
c-DDL.html
...that shows how to create a table with a query.
Random Solutions
get 550 5.7.1. Unable to relay for specific domains....
Team Foundation Server 2010, deleted web site problem
Windows Server 2008 R2: missing start menu of installed applications
RadCombo Box loses Items on postback.
WCF Nested complex types
Problem with EFS Recovery
SQL2005 View being forced to Encrypted
Query a txt file and add a user account into administrator group of each machine.
Excel addins
Excel - VBA text formatting