Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 10:19 AM
Andrew
Guest
 
Posts: n/a
Default Saving a Record - Access 2000

In Access 2000, I have a form for Horse and a subform for Stable which
contains a combo box showing empty stables. If I enter a StableNo and
a DateIn (but no DateOut), the underlying query correctly shows that
stable as being unavailable. However, if I simply move to another
Horse record (without closing/reopening the form), the stable is still
showing vacant.

I have tried using the SaveRecord command in the AfterUpdate of the
DateIn box, but the whole thing only works if I close the form and
re-open it.

I am trying to figure out how to save the record "better"! Andrew

  #2  
Old November 13th, 2005, 10:19 AM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: Saving a Record - Access 2000

On 27 Apr 2005 05:24:50 -0700, "Andrew" <andrewthorpe@tiscali.co.uk>
wrote:

You need to requery the combobox after the save, for example in the
<form>_AfterUpdate event.

-Tom.
[color=blue]
>In Access 2000, I have a form for Horse and a subform for Stable which
>contains a combo box showing empty stables. If I enter a StableNo and
>a DateIn (but no DateOut), the underlying query correctly shows that
>stable as being unavailable. However, if I simply move to another
>Horse record (without closing/reopening the form), the stable is still
>showing vacant.
>
>I have tried using the SaveRecord command in the AfterUpdate of the
>DateIn box, but the whole thing only works if I close the form and
>re-open it.
>
>I am trying to figure out how to save the record "better"! Andrew[/color]

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles