Connecting Tech Pros Worldwide Help | Site Map

Saving a Record - Access 2000

  #1  
Old November 13th, 2005, 10:19 AM
Andrew
Guest
 
Posts: n/a
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

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]

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2000 VBA Matching Value problem grego9 answers 0 March 24th, 2009 10:56 AM
Simple VB 2008 Question Dellboymash answers 1 July 28th, 2008 10:29 PM
How to connect Remote web server by windows and vice versa? nirmalsingh answers 0 April 23rd, 2008 12:53 PM
Point in Time Backup (impossible for some points?) mcaglar@cs.ucf.edu answers 3 September 23rd, 2006 10:35 AM
Process Info (SQL Server Enterprise - Management - Current Activity) Michael answers 3 July 23rd, 2005 10:01 AM