列表详细信息屏幕中的自动完成框显示搜索的短划线 [英] Auto Complete box in List Detail screen shows a dash on search

查看:83
本文介绍了列表详细信息屏幕中的自动完成框显示搜索的短划线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

拥有一个表,公司和一个关联的查找表,CompanyType。 它们与外键正确链接,从数据库的角度来看,一切都是正确的。 然后我在LightSwitch中创建一个列表/详细信息屏幕,公司在列表中显示
,公司在详细信息中输入一个自动完成框。 当我只是浏览公司时,公司类型显示正确,但是如果我对公司进行搜索并选择其中一个公司,则公司类型自动完成框显示
a dash" - "没有公司类型。 

Have a table, Company, and an associated lookup table, CompanyType.  They are properly linked with a foreign key, and everything is correct from a database standpoint.  I then create a List/Detail screen in LightSwitch with the companies displayed in the list and the company type in an auto complete box in the detail. The company types display properly when am simply browsing through the companies, but if I do a search on the companies and select one of them, the CompanyType auto complete box shows a dash "-" and no company type. 

上面只是一个例子。 当我进行搜索时,在列表/详细信息屏幕中使用自动完成框的任何父/子关系都会发生这种情况。

The above is just an example.  This happens on any parent/child relationship using an auto complete box in a list/detail screen when I do a search.

推荐答案

您好史蒂夫

关系是  CompanyType -   公司,
一对多?

The relation is CompanyType - Company, One to Many?

创建了哪些屏幕?

在两个表中保存了一些关系的记录?

Saved some records in both tables with relations?

通常在搜索屏幕中没有数据编辑。 AutoCompleteBox已添加?

Typically in a Search Screen no data editing. The AutoCompleteBox was added?


这篇关于列表详细信息屏幕中的自动完成框显示搜索的短划线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆