473,394 Members | 1,800 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,394 software developers and data experts.

Subform updating

I am creating a form that has a subform. The main form is unbound
with a combo box, list box and a textbox. I need to get the subform
(a form that is bound to a query) to automatically update whenever an
item in the listbox is clicked, or whenever the textbox gets updated.

Thanks for your help.
Nov 13 '05 #1
2 1280
You could use 'Sendkeys "{F9}" ' as a AfterUpdate VBAcode in your textbox.

Roel Schoonveld
ro**@schoonveld.com


ja*******@hotmail.com (Jason) wrote in message news:<34**************************@posting.google. com>...
I am creating a form that has a subform. The main form is unbound
with a combo box, list box and a textbox. I need to get the subform
(a form that is bound to a query) to automatically update whenever an
item in the listbox is clicked, or whenever the textbox gets updated.

Thanks for your help.

Nov 13 '05 #2
Thanks for your help, that has solved the problem. I do have another
problem with the list box. Everytime I click a value in the list box,
it goes to the top of the list for that letter. (Eg. If I have 10 "N"
values, clicking on item 10 will force the list box to go to the "N"
at the top of the list. I need the box to hold the value that was
clicked.

Is there something that I can do to fix this? Thanks.

ro**@schoonveld.com (Roel Schoonveld) wrote in message news:<c6**************************@posting.google. com>...
You could use 'Sendkeys "{F9}" ' as a AfterUpdate VBAcode in your textbox.

Roel Schoonveld
ro**@schoonveld.com


ja*******@hotmail.com (Jason) wrote in message news:<34**************************@posting.google. com>...
I am creating a form that has a subform. The main form is unbound
with a combo box, list box and a textbox. I need to get the subform
(a form that is bound to a query) to automatically update whenever an
item in the listbox is clicked, or whenever the textbox gets updated.

Thanks for your help.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carl | last post by:
I have a main form with navigation buttons on it and a label showing for example Record 1 of 15 using recordsetclone on it and eveything works fine. When I move through the records the record...
5
by: Mary Litten | last post by:
Hi - (This is my very first post) I have gotten to this point of registering to post because I have been spinning my wheels so long, I believe I am all caught up in the weeds. (and mud) I have...
3
by: A Clark | last post by:
I have a subform that displays a datasheet. There are a couple of different queries that can be displayed in the datasheet. The queries are available in a combo box on the main form. The problem...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
1
by: bcreighton | last post by:
I have created a bound subform on an unbound masterform linked together with a common field (A store's identification number) using an unbound combobox on the masterform and an invisible field on...
14
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....
4
by: Macbane | last post by:
Hi, I have a 'main' form called frmIssues which has a subform control (named linkIssuesDrug) containing the subform sfrmLink_Issues_Drugs. A control button on the main form opens a pop-up form...
1
by: Stinky Pete | last post by:
Hi everyone, I have been updating a file that uses a main form that contains a subform (as a datasheet). The main form really does not do anything on opening except maximizes to the users...
6
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
0
by: skips84s | last post by:
I have a parent form with four tabbed subforms. On subform x, selecting a value from a combo box should update a few controls on this subform, as well as a control on subform y, all done using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
Oralloy
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,...
0
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...
0
tracyyun
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...

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.