Multiline property problems

狂风中的少年 提交于 2019-12-24 19:13:28

问题


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:


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().



来源:https://stackoverflow.com/questions/47755313/multiline-property-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!