473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

problem with refresh a form in Access using vba and recordset

hi, first of all i'm french so my english is not so good ;(....

i have a lot of problems when i update/delete an object(form or subform or listbox...) source records for refreshing the objects automatically.
Usualy i used vba and ado for updating/deleting the records and i call a requery and/or refresh and/or repaint in the same sub. the problem is that the object does nt refresh, i must use a bouton which call a requery for that the changes appear.
i tried to redefine the source with the rowsource of the list box for example, but it does nt work either.

please if u have the solution it will be i great big help 4 me, in french forums nobody found the solution.

10x
Apr 24 '07 #1
1 2125
MMcCarthy
14,534 Expert Mod 8TB
hi, first of all i'm french so my english is not so good ;(....

i have a lot of problems when i update/delete an object(form or subform or listbox...) source records for refreshing the objects automatically.
Usualy i used vba and ado for updating/deleting the records and i call a requery and/or refresh and/or repaint in the same sub. the problem is that the object does nt refresh, i must use a bouton which call a requery for that the changes appear.
i tried to redefine the source with the rowsource of the list box for example, but it does nt work either.

please if u have the solution it will be i great big help 4 me, in french forums nobody found the solution.

10x
Me.Requery should work when you change the Record Source of the form. Where did you put this code and how is it being triggered?
Apr 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Dave | last post by:
Hey, I'm running a localhost web server...W2K with IIS 5.0, and I'm trying to use ASP/ADO to access my Access database. When I first load the page, everything works, but if i hit refresh (F5 or...
2
by: Josh Strickland | last post by:
I am attempting to create an Access database which uses forms to enter data. The issue I am having is returning the query results from the Stored Procedure back in to the Access Form. ...
2
by: Shaun | last post by:
Ok here is the situation… Have an access 20002 application that I'm converting to have a SQL Server backend (2000), the application has been in use with an access backend for years, no real...
3
by: Danny | last post by:
HI How can I refresh the main project window in code in ms access 2000 For example, I create a new table, but when I minimize the form, the table is not there until I do F5 (refresh). I do...
1
by: Bill | last post by:
I have five users using the same forms to enter and retrieve data from an Access database held on a server but the only way each user can see any changes to records is by closing and reopening the...
9
by: Matthew Wells | last post by:
Hello, I have a main form with two continuous subforms - neither is using master/child fields. Subform2 is bound to a local temp table. When I update a record on subform1 it executes a...
5
by: tom.hepworth | last post by:
Hi I have a problem which I hope someone can help me with because I really don't even know where to start with it. I am using Access 2003. I have a delimited text file which contains about...
8
by: Philip_collins | last post by:
Hi! the following sql is identical to code in another database of mine. in the first database it works perfectly, that is to say it writes the query and I have a form based on the query. in the...
21
by: adjo | last post by:
I am working on an app with an Access2002 frontend and Sql2005 backend. I have to use integrated security. I want to prevent my users from altering data in another way than via the frontend. It...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.