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!

How To Create A Memo Field Programatically?

Status
Not open for further replies.

jbl1167

Programmer
Oct 2, 2006
78
US
How Can I create Memo fields when I create a table programatically?

Thank you
 
Try something like .Fields.Append .CreateField("DNow", dbMemo).

 
jbl1167,
Another approach.
Code:
strSQL = "ALTER TABLE MyTable ADD COLUMN NewColumn MEMO;"
DoCmd.RunSQL strSQL

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top