Form Refresh with Shift F9

  • Follow


I have a form based on a query.  A command button can go to another form and 
choose data to add to the underlying table on which the query is based. 
Upon return to the calling form, the new record is not in the record set, 
although a query shows it is there.  A refresh button does not add the 
record, nor does a requery.  The form must be closed and reopened to view 
the new record.  However Shift F9 totally refreshes the data.  I have tried 
writing to various events at form level with no success.  How do you 
duplicate Shift F9 programmatically?
Thank you,
Claudette Hennessy 


0
Reply Claudette 4/28/2007 12:44:21 PM

Hi Claudette,
I find it hard to believe that a Requery did not add the new record to your
recordset.  Do you have a filter in place or something? I'm sorry but I have
no idea what <SHIFT> F9 does.

Claudette Hennessy wrote:
>I have a form based on a query.  A command button can go to another form and 
>choose data to add to the underlying table on which the query is based. 
>Upon return to the calling form, the new record is not in the record set, 
>although a query shows it is there.  A refresh button does not add the 
>record, nor does a requery.  The form must be closed and reopened to view 
>the new record.  However Shift F9 totally refreshes the data.  I have tried 
>writing to various events at form level with no success.  How do you 
>duplicate Shift F9 programmatically?
>Thank you,
>Claudette Hennessy

-- 
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com

0
Reply ruralguy 4/28/2007 1:44:54 PM


1 Replies
834 Views

(page loaded in 0.097 seconds)

Similiar Articles:
















7/21/2012 7:26:38 PM


Reply: