473,480 Members | 4,852 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Reference Control from a different form

38 New Member
All-

I would like to be able to call a query from a diaglog (form) when a value is selected from a dropdown (combo box). The for mentioned form will pop up when a user selects on of three buttons. Within the onchange() of the pop diaglog box I would like to set a IF condition to see which of the buttons from the previous form was clicked. Can anyone help?

Thank you

-Dev1

P.S. Do you award points on this site?
Apr 8 '08 #1
1 1231
Dev1
38 New Member
I've not gotten a response. Is my question to vague?

-Dev1



All-

I would like to be able to call a query from a diaglog (form) when a value is selected from a dropdown (combo box). The for mentioned form will pop up when a user selects on of three buttons. Within the onchange() of the pop diaglog box I would like to set a IF condition to see which of the buttons from the previous form was clicked. Can anyone help?

Thank you

-Dev1

P.S. Do you award points on this site?
Apr 8 '08 #2

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

Similar topics

3
494
by: Kam | last post by:
Hi! When I am trying to drag user controls or any controls from the Toolbox to a form in some of my projects I get a dialog messages: (Microsoft Deployment Environment) "Object reference not...
2
334
by: Paola | last post by:
I get the following error: Object reference not set to an instance of an object. exception0905.Component1.FillDataSet(myDataSet1 dSet) +15 exception0905.WebForm1.Page_Load(Object sender,...
2
1678
by: deko | last post by:
I have a public function that does different stuff based on the parameter passed to it. I want to use Select Case to identify the parameter like this: Public Function SomeFunc(frmName as...
2
2562
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
23
1252
by: Carlos | last post by:
Before in VB 6 I used to reference for examplea progressbar1 doin the following Form1.ProgressBar1.val =1 Now how do I refrence a control for a module if the control is in a different form ...
2
1206
by: Shallotx | last post by:
I am building a simple user control - a listview, a couple buttons. I build the solution, drop the control on a form, and all is well. I then go back, modify the Usercontrol, rebuild, and still...
14
1964
by: 97T | last post by:
Well this is still bugging me. I know there are other ways around this, but for a number of reasons I would like to be able to do this one simple thing. I have a form with a number of controls...
3
518
by: tlyczko | last post by:
I have a main form with 2 subforms, each subform references different data in the same table. How do I make sure each subform only creates NEW records in the referenced table and do not...
10
6330
by: Richard Lewis Haggard | last post by:
I've created in form that has tab controls that contain tab controls that host user controls on each tab page. It compiles and runs just fine but the designer view fails with a "A circular control...
4
2983
by: Mori | last post by:
I am using masterPage and I need to populate a textbox that is in a content control with data from popup page that is not part of the master page. This code works if no masterpage is involved. ...
0
7040
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
6905
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
7041
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,...
1
6736
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
6908
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
5331
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
4478
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
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
561
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.