(ACCESS WEB APP)从弹出窗口中重新查询基础视图记录集 [英] (ACCESS WEB APP) Requery underlying view recordset from a popup
问题描述
访问网络应用程序,我有一个视图,当我点击视图中的文本框时,我会调用弹出窗口。从弹出窗口我使用数据宏来从弹出窗口更新基础视图中的字段,工作正常。但是,基础视图不刷新&
显示新数据(绑定文本框) 直到我重新加载视图或刷新它。 我可以使用弹出窗口中的宏来执行此操作吗?或者是否存在另一种方法?我无法看到引用视图或其控件,有问题的视图实际上是
另一个视图上的子窗体/视图。
Access Web Apps, I have a view where I call a popup when I click on a textbox in the view. From the popup I use a data macro to update the fields in the underlying view from the popup, works fine. However the underlying view does not refresh and show the new data (bound textboxes) until I reload the view or refresh it. Can I do this using a macro from the popup or is there another method? I can't seen to reference the view or its controls, the view in question is actually a subform/view on another view.
推荐答案
Hi Davd,
Hi Davd,
对于这个问题,你需要添加
RequeryRecords 宏观行动在 ClosePopup 宏操作之前。
For this issue, you need to add RequeryRecords Macro Action before ClosePopup Macro Action.
例如,对于OnClick事件,有SaveRecord,RequeryRecords,ClosePopup宏操作。
For example, for OnClick event, there are SaveRecord, RequeryRecords, ClosePopup Macro Actions.
最好的问候
Starain
这篇关于(ACCESS WEB APP)从弹出窗口中重新查询基础视图记录集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!