在 Navision 2009 的文本框中添加更多数据库记录
Add more database records to the text-box in Navision 2009
我有一个带有 name:txtShowMoreDetails
的文本框。我想在其中显示不止一条 table 记录。我这样试:
LocLocationtClientMethod.City := FORMAT(CurrForm.txtShowMoreDetails);
LocLocationtClientMethod."Post Code" := FORMAT(CurrForm.txtShowMoreDetails);
谢谢
反过来...定义一个名为 txtShowMoreDetails 的全局文本变量(例如),并在表单的 OnAfterGetRecord 触发器中使用数据库中的这些字段填充变量:
txtShowMoreDetails := LocLocationtClientMethod.City + ' ' + LocLocationtClientMethod."Post Code";
不要忘记在表单上将 TextBox 设置为 Editable=No
干杯!
我有一个带有 name:txtShowMoreDetails
的文本框。我想在其中显示不止一条 table 记录。我这样试:
LocLocationtClientMethod.City := FORMAT(CurrForm.txtShowMoreDetails);
LocLocationtClientMethod."Post Code" := FORMAT(CurrForm.txtShowMoreDetails);
谢谢
反过来...定义一个名为 txtShowMoreDetails 的全局文本变量(例如),并在表单的 OnAfterGetRecord 触发器中使用数据库中的这些字段填充变量:
txtShowMoreDetails := LocLocationtClientMethod.City + ' ' + LocLocationtClientMethod."Post Code";
不要忘记在表单上将 TextBox 设置为 Editable=No
干杯!