473,470 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Change Text Field Value when dropdown option is selected

5 New Member
I am finding the way to change the text field value when we select the option from drop down list.Kindly help me out to solve this problem.
I have Departments in one dropdown list and there is other dropdown list name as "Category".When i select the department then there should be related cetagory fields in Categroy dropdown list...kindly help me out...



Thanks
Azhar
Nov 4 '13 #1
4 2719
azkhan
5 New Member
The above Query solution should be in Ms Access.

Thanks
Nov 4 '13 #2
twinnyfo
3,653 Recognized Expert Moderator Specialist
azkhan,

Please provide us some greater explanation and some sample code of what you have tried so far.

My initial thought is that on the AfterUpdate Property of the Department Dropdown box, you should requery the RowSource data for the Categories dropdown. The query underlying that drop down caneither use the data from the form's dropdown box, or you could set a global variable that is updated after the Departments dropdown and use that global variable in the query.

There are mulptiple options, but we don't know what your tables, dropdowns and variables look like, so I can't get any more specific.

Grace and Peace,
Twinnyfo
Nov 4 '13 #3
zmbd
5,501 Recognized Expert Moderator Expert
The following deal with filtering within forms; however, the ones you should take a very careful look at are Cascaded Form Filtering and Multiple Combobox Filter with Clear Option as these two should point you in the direction I think you're heading in...

I know that these can be heavy reading, please do the best you can and if you get stuck please post the question back here and we'll do our best to get you going again d(^-^)b
-z

-filtering-
Nov 6 '13 #4
azkhan
5 New Member
Thanks for Reply.I will follow the instructions that you have mentioned above and inform you about its updates.

Thanks
Nov 7 '13 #5

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

Similar topics

2
by: gabon | last post by:
I'm creating a select entirely through JavaScript and very strangely IE doesn't show the text in the option elements. Here part of the code: this.form_country=document.createElement("select");...
1
by: Mark Noten | last post by:
This following HTML page works fine in Firefox 1.5 but not in IE6. Help is appreciated. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta...
4
by: sid derra | last post by:
hi i am trying to change the value of a text field on my page dynamically, every time an iframe loads. #========== the code where the text field is looks like this: <form...
2
by: dharmadam_man | last post by:
I want to use MERGE to UPDATE the rows when there is a match. If there is no match, I want to INSERT the rows, and at the same time change a column value to a constant. For example, change the...
3
by: dugald.morrow | last post by:
I have some javascript that updates the text in a text field after certain actions take place such as clicking a checkbox. The javascript works fine in Safari and Firefox, but in IE, the text in...
4
by: Shinee Nag | last post by:
What I am trying to do is add first text field right after a dropdown menu only if the user selects a first option, when a user selects second option then second text field is opened I am new to...
2
by: MOzgaf | last post by:
Hi, The problem is I have a list that i want to send to other file(php) but I want to send two corresponding variables. I was wondering if this is easy with the hidden field. <select...
3
by: rameshbabu1251 | last post by:
hi i am getting trouble in displaying text field value as web page title on entering text in text field. can any one help me solving this problem here my code <html> <head> <script...
1
by: Avinash Gupta | last post by:
hello, i want to insert a text field value into access data base file. but there is a problem that i have a single text field of month and in database there is 12 coloms of...
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
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...
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
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.