I'm modifying the Query: EcoResProductListPage which is the datasource for Form: EcoResProductListPage.
我正在修改Query:EcoResProductListPage,它是Form:EcoResProductListPage的数据源。
I've added a join to the InventTable, and the query seems to work fine. The problem is, the form itself is using the original version of the query (without the join I added).
我已经为InventTable添加了一个连接,查询似乎工作正常。问题是,表单本身使用的是查询的原始版本(没有我添加的连接)。
If I remove and re-add the datasource, this works, but I lose the datasource in each of the columns on the Grid and basically have to rebuild the form. I can do this -- but I assumed there has to be an easier way.
如果我删除并重新添加数据源,这可行,但我丢失了网格上每个列中的数据源,基本上必须重建表单。我可以这样做 - 但我认为必须有一个更简单的方法。
How do I refresh the datasource on the form to use the latest version of the query, without having to entirely rebuild the form?
如何刷新表单上的数据源以使用最新版本的查询,而无需完全重建表单?
Thanks!
谢谢!
1 个解决方案
#1
1
You can just press enter in Query property node. I do not remember what happens with any code you changed on the datasource.
您只需在Query属性节点中按Enter即可。我不记得您在数据源上更改的任何代码会发生什么。
#1
1
You can just press enter in Query property node. I do not remember what happens with any code you changed on the datasource.
您只需在Query属性节点中按Enter即可。我不记得您在数据源上更改的任何代码会发生什么。