B
Bill R via AccessMonster.com
I had been using the following code:
With Me
..sfrmPE.Form.Requery
..sfrmPE.Form.RecordSource = .sfrmPE.Form.RecordSource
..sfrmPEFactors.Form.Requery
..sfrmPEFactors.Form.RecordSource = .sfrmPEFactors.Form.RecordSource
End With
And up until a few minutes ago it had successfully requeried the subforms. I
added the "RecordSource" lines because the Requery had stopped working.
The code steps right through the lines, but it does nothing. The subforms
have all empty fields until I hit F9 to manually requery the form. Of course,
I can't ask my users to do this, so I've had to add the line:
SendKeys{F9}
,at the end of my code. I'm using A2K on an XP Pro machine.
--
Bill Reed
"If you can't laugh at yourself, laugh at somebody else"
Message posted via AccessMonster.com
With Me
..sfrmPE.Form.Requery
..sfrmPE.Form.RecordSource = .sfrmPE.Form.RecordSource
..sfrmPEFactors.Form.Requery
..sfrmPEFactors.Form.RecordSource = .sfrmPEFactors.Form.RecordSource
End With
And up until a few minutes ago it had successfully requeried the subforms. I
added the "RecordSource" lines because the Requery had stopped working.
The code steps right through the lines, but it does nothing. The subforms
have all empty fields until I hit F9 to manually requery the form. Of course,
I can't ask my users to do this, so I've had to add the line:
SendKeys{F9}
,at the end of my code. I'm using A2K on an XP Pro machine.
--
Bill Reed
"If you can't laugh at yourself, laugh at somebody else"
Message posted via AccessMonster.com