I have some code that runs a long function and therefore I need a progress bar to show that something is actually going on.
So in the code (which is not the code behind the progress bar form) I have this:
Forms!progress.lblProgress.Caption = "Updating weekly demand rows - " & RecNumber & "/" & MaxSize
Forms!progress!PB.Value = Round((RecNumber / MaxSize) * 100)
but the last line returns an error: Property is write-only... why?
Also, in vb.net you can throw application.doevents to make the screen update, is there a similar function in Access or do I not even need it?