Hi,
I have a form which contains a subform. When I'm entering data into
the subform it seems to requery automatically. When this occurs the
focus goes to the start of the subform.
Firstly, do subforms requery automatically?
....and if so
can this be stopped?
My thanks in advance
Lui 3 3455
No, something in one of the events on the subform must be creating the
requery or refresh.
If you cna't find it, then post all the code from the subform here.
On Apr 5, 9:46 am, "LROCCO" <l_a_ro...@yaho o.co.ukwrote:
Hi,
I have a form which contains a subform. When I'm entering data into
the subform it seems to requery automatically. When this occurs the
focus goes to the start of the subform.
Firstly, do subforms requery automatically?
...and if so
can this be stopped?
My thanks in advance
Lui
On 5 Apr, 16:11, "Jason Lepack" <jlep...@gmail. comwrote:
No, something in one of the events on the subform must be creating the
requery or refresh.
If you cna't find it, then post all the code from the subform here.
On Apr 5, 9:46 am, "LROCCO" <l_a_ro...@yaho o.co.ukwrote:
Hi,
I have a form which contains a subform. When I'm entering data into
the subform it seems to requery automatically. When this occurs the
focus goes to the start of the subform.
Firstly, do subforms requery automatically?
...and if so
can this be stopped?
My thanks in advance
Lui- Hide quoted text -
- Show quoted text -
Thanks for the reply.
The odd thing is it even seems to refresh/ requery when the user is
not operating the database, i.e. just looking at it??
On 5 Apr, 16:11, "Jason Lepack" <jlep...@gmail. comwrote:
No, something in one of the events on the subform must be creating the
requery or refresh.
If you cna't find it, then post all the code from the subform here.
On Apr 5, 9:46 am, "LROCCO" <l_a_ro...@yaho o.co.ukwrote:
Hi,
I have a form which contains a subform. When I'm entering data into
the subform it seems to requery automatically. When this occurs the
focus goes to the start of the subform.
Firstly, do subforms requery automatically?
...and if so
can this be stopped?
My thanks in advance
Lui- Hide quoted text -
- Show quoted text
thanks for the response
It seems quite odd as the form even refreshes/requeries when no one is
operating it?? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Boyd |
last post by:
Hi,
I have two very similar forms each with a subform. The main form gets
a few fields from the user and passes this back to a query that the
subform is bound to. The requery is done when the user enters the
last qualifying field on the main form.
In one case this works fine, the subform shows the data the user wants
to update -- which means showing all the data put in previously (ie
showing this via the requery and the continuous...
|
by: F. Michael Miller |
last post by:
I need to requery a subform from a third form and can't seem to get it to
work.
frmForm1 has frmAddress as a subform. The button cmdReviseAddress opens the
form frmUpdateAddress where all of my validation work is done and the new
record is added.
However, the new address is not being displayed in the subform.
If I use the command
|
by: ken |
last post by:
Hi,
I have a main form with a text box and a filter button. I also have a
subform in the main form. When I make an entry into the filter text box
and click the filter button, I change the query definition of the
subform and then try to requery the subform, but no matter what I do it
does not requery?
While my main form is open and after I clicked on filter, I can open
the subform query and see that the sql changed correctly. I can open...
|
by: Kurt |
last post by:
I have an unbound main form with an unbound subform.
frmProjects
fsubProjectList
Using combo boxes, the user can select several search criteria on
frmProjects and then click a command button. The command button passes
the criteria as a string to a query. A subform, which is based on this
query, shows the results of the search.
|
by: Parasyke |
last post by:
I have a subform within a tabpage that will requery/refresh (?) if I
press F9 and it will update the data in the subform, but I have tried
various combinations of Me!SubformName.requery
Me!Forms!Subformname.requery, etc. to put the F9 functionality into VBA
code but nothing seems to work... any ideas? Thanks!
| |
by: midlothian |
last post by:
Hello,
I have conditional formatting set up on a subform based on a calculated
value in the underlying query. For instance, if Sales are >$1000, the
query displays "Yes," otherwise it displays "No." The conditional
formatting is set up to read the 'Yes' or 'No' value and color the text
accordingly.
I have an event in the subform that allows users to update the sales.
It actually runs an update query behind the scenes. What I want to...
|
by: MarkoBBC |
last post by:
Hi everyone,
First a brief description of my form: I have a subform within a main form. In my subform, I have a listbox displaying address information by firm name. A user first has to select a firm name in a combo box above the list box. The listbox and the combo box join on firm name. The listbox records what address was selected in the address table by the way of an address id number. I set up a macro to requery the listbox when you...
|
by: mrowe |
last post by:
I am using Access 2003. (I am also using ADO in the vast majority of my code. I recently read a post that indicated that ADO is not all that is was initially cracked up to be. In the back of my mind I am wonder if this is causing my problem, but I don’t want to go through the work to convert to DAO unless I know it is truly in my best interest.)
I am having problems getting a requery to show up consistently on a couple of forms. I have...
|
by: mslagle1 |
last post by:
Hi all,
I am trying to requery a subform "frmOpenWorkOrders" when a value list "status" on my main form "frmWorkOrderMain" is changed. If I change "status" then click on "frmOpenWorkOrders" and hit F9 I get the desired result. Which is the list on my subform is refreshed to show the new result of the query that populates the subform.
I have tried the following:
Private Sub Status_AfterUpdate()
Me!.Requery
...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |