PC Review


Reply
Thread Tools Rate Thread

data not refreshed until close the form

 
 
Song Su
Guest
Posts: n/a
 
      18th Jun 2007
I have a SearchForm. One button to open AddForm. After add a record and
close AddForm, I cannot use SearchForm to locate the newly added record
until I close and re-open SearchForm.

Same is true when Delete.

On the SearchForm, I have a Delete button to delete a record. Combo Box
search box on SearchForm still can see #Deleted until I close SearchForm and
re-open to see #Delete is gone.

Is there a way to refresh data without close and re-open SearchForm?

Thanks.


 
Reply With Quote
 
 
 
 
ruralguy via AccessMonster.com
Guest
Posts: n/a
 
      18th Jun 2007
You need to Requery the RecordSet to remove the #Deleted messages and pick up
any new records.

Song Su wrote:
>I have a SearchForm. One button to open AddForm. After add a record and
>close AddForm, I cannot use SearchForm to locate the newly added record
>until I close and re-open SearchForm.
>
>Same is true when Delete.
>
>On the SearchForm, I have a Delete button to delete a record. Combo Box
>search box on SearchForm still can see #Deleted until I close SearchForm and
>re-open to see #Delete is gone.
>
>Is there a way to refresh data without close and re-open SearchForm?
>
>Thanks.


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

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200706/1

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column width of Pivot Table data goes back to default when data refreshed Rick J Microsoft Excel Misc 2 16th Sep 2008 02:29 AM
Data in list boxes disappears when form refreshed Tony Kuiper Microsoft Access Forms 3 15th Apr 2008 06:31 AM
Close button on a form will not close form - error 2585 - action cannot be carried out while processing a form Angus Comber Microsoft Access 2 19th Jul 2006 12:21 PM
Call data collection form from Function and wait till form close t =?Utf-8?B?ZGtlcm4=?= Microsoft Access 1 27th Feb 2006 03:36 AM
Need to Open Form from Command Button With Refreshed Data Marcia Microsoft Access Forms 2 29th Nov 2003 05:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 AM.