sharepoint 2013 - Access Web App - How to update UI after changing data through data macro? -
let's assume have access web app 3 tables: group, person , task if using normal access client database:
in app, data macros run whenever task table changed. if example new task added , person assigned it, workload field of assigned person increased estimated workload of task. similar changes performed if task entries changed or removed.
since question related user interface, give details ui:
the view group contains "related items" control displaying group members. "related items" control allows open popup selected person.
this popup - again - contains "related items" control displaying assigned tasks.
and actual problem:
if edit estimated workload of task, changes in person entry stored in database - not reflected on user interface until manually reload web page.
therefore question boils down to: how can make sure that changes, caused on person table data macros of task table, reflected on user interface without having reload page?
you need ui macro re-runs query reflected on ui side. action called requeryrecords.
you can leave out "conditions" leaving fields empty, runs plain select query.
this video tutorial help, it's bit lengthy.
Comments
Post a Comment