Multiline property problems

2019-08-23 06:11发布

I have a column in my database that is set to memo. I am trying to view the data in a textbox.

I have enabled new line in field from the Enter Key Behaviour property but all the data from the record is now showing - What am I missing?

The data is being pulled from a list box, example code below:

Textbox1 = listbox.column(1)

Thanks in advance

1条回答
做个烂人
2楼-- · 2019-08-23 06:30

This has nothing to do with the EnterKeyBehavior property of the text box.

http://allenbrowne.com/ser-63.html

Row Source

A Memo field in the Row Source of a combo box or list box will truncate.

Don't use memo fields in combos or list boxes.

You'll need a different method to load the text box, e.g. read the ID from the listbox and use DLookup().

查看更多
登录 后发表回答