v8.4.1 upgrade to 12.3.1 issue with VBA

Just upgraded a system to 12.3.1 from 8.4.1 and have an issue with some overview graphics using some VBA scripts to update a batch prompt. When the graphic opens in 12.3.1 it stops responding or is updating the information very very slowly. It appears to be a script which update a graphic symbol of any batch prompts. Simple enough script using frsReadValue under a 2 second event timer. If we remove the script graphic is ok so it is definitely related to this.

Does anyone know of any information relating to VBA and changes between DV versions?

3 Replies

  • I'm not sure of VBA changes between versions. Wouldn't visibility animations be a cleaner way to do this?
  • In reply to chip.burge:

    Just discovered that in the v12.3.1 upgrade .chm file it states that the frsReadValue and frsWriteValue when used in loops can cause slow response. I'm not sure why this client hadn't used animations but the solution is to add DoEvents in each loop, dirty but should work!
  • In reply to pjs6557:

    Update: DoEvents does not improve that situation. Whilst it does allow command buttons to be pressed but whatever script is behind them does not run.