Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Text Field With Query

Status
Not open for further replies.

rgbanse

MIS
Jun 4, 2001
211
US
Similar to the format command or using Cdbl(0) to create a Double field, is there a way to set a text field's length using a standard MS Query ie; FieldName: FieldLen = 4

I want to set the length of the field when a MakeTable query is run. The initial query will create a table with some empty text fields that I will update later. There are quite a few of these fields and thay default to a size of 255. This will eventually cause the size of the Db to become too large.
The query would be similar to <FieldName:&quot;SpaceFiller&quot;.>
&quot;SpaceFiller&quot; would be the maximum length of any data updated in the field, therefore, I don't need fields 255 Char's long.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top