473,320 Members | 2,202 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,320 software developers and data experts.

different text boxes should appear on selection in dropdown box

i have 4 options in my dropdown box
1.Account Specific
2.Icalms
3.Certification
4.Others
on selecting Account Specific in dropdown box a text box should appear.
on selecting Others the same text box as on selecting Account Specific and an additional text box should also appear. please help me.
Apr 28 '12 #1
2 1610
Dormilich
8,658 Expert Mod 8TB
what have you tried?
Apr 28 '12 #2
If You are working on Visual basic 6.0 then try this
For this declare a public variable
On Selecting a dropdown set different values of variable
then
if variable =1 or Variable=3 then
textbox1.visible=true
textbox2.visible=false
elseif variable =2 or Variable=4 then
textbox1.visible=false
textbox2.visible=true
end if
Apr 29 '12 #3

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

Similar topics

2
by: Gary | last post by:
Hello All, I have an editable data grid in my web form, this grid allows the user to add new records, edit existing records and also delete them. When a user adds a record the grid goes in to...
2
by: the nitewolf | last post by:
Not having much luck with this one.... I have multiple textboxes that I want to concntenate, but with a "Tab" so things are equally spaced. I have an app with two tabs, one is an input form with...
5
by: tlyczko | last post by:
Hello, I've searched on toggling divs and didn't really find what I was looking for, I saved a bunch of different threads. I have a form with several different text boxes for things like dates,...
4
by: javacrazy | last post by:
This is my code and I was wondering if anybody could tell me why nothing happens when I click on the "Submit" button. <HTML> <HEAD> <TITLE>Hmm</TITLE> <SCRIPT LANGUAGE="text/javascript"> //...
3
by: AJHY | last post by:
Hi Just a quick one. I have a form with a checkbox and 3 different text boxes on (Hidden). When a user clicks on the checkbox I want the first text box to be visable. This is fine but the...
3
by: Christian Blackburn | last post by:
Hi Gang, I have written a product registration screen that has three text boxes. They take 4 numbers each (I know that's too few, but I'm not the originator of this code). In any event I want...
1
by: Hiker68 | last post by:
Hello, I am very new at Access & VBA so I hope you understand what I am asking. I have a form that displays information about an apartment building. I created a combo box to list all of the...
5
by: S Crooks | last post by:
I have created a database form that has subforms, on one of these subforms I want to be able tick the tick box so that it makes the text boxes appear so that information can be inputted. In the...
1
by: borri Craig | last post by:
I have a data set with a parent child relationship between a patient table and an insurance table. There can be up to 4 insurances for each patient. I want to display them in 4 separate panels of a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.