Group:  Microsoft Access ยป microsoft.public.access.formscoding
Thread: timing problem

Geek News

timing problem
Jean-Paul <jp.dewinter[ at ]telenet.be> 11/11/2008 1:55:16 PM
Hi,
I have a bound form with 2 pushbuttons to open a report based upon this
form.
There are a lot of checkboxes on the form..
When I change one and click the pushbutton the report don't show the
modified checkbox.
When I close the form and click the pushbutton again, the modification
is shown correctly...
There must be a way to avoid this...
Any help is welcome
JP
Re: timing problem
"tkelley via AccessMonster.com" <u47368[ at ]uwe> 11/11/2008 2:10:55 PM
Try this in your button code, before opening your new form:

DoCmd.RunCommand acCmdSaveRecord


Jean-Paul wrote:
[Quoted Text]
>Hi,
>I have a bound form with 2 pushbuttons to open a report based upon this
>form.
>There are a lot of checkboxes on the form..
>When I change one and click the pushbutton the report don't show the
>modified checkbox.
>When I close the form and click the pushbutton again, the modification
>is shown correctly...
>There must be a way to avoid this...
>Any help is welcome
>JP

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200811/1

Re: timing problem
Jean-Paul <jp.dewinter[ at ]telenet.be> 11/11/2008 2:31:26 PM
perfect... thanks

tkelley via AccessMonster.com wrote:
[Quoted Text]
> Try this in your button code, before opening your new form:
>
> DoCmd.RunCommand acCmdSaveRecord
>
>
> Jean-Paul wrote:
>> Hi,
>> I have a bound form with 2 pushbuttons to open a report based upon this
>> form.
>> There are a lot of checkboxes on the form..
>> When I change one and click the pushbutton the report don't show the
>> modified checkbox.
>> When I close the form and click the pushbutton again, the modification
>> is shown correctly...
>> There must be a way to avoid this...
>> Any help is welcome
>> JP
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net