473,320 Members | 2,092 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.

Mouse click to open form

Is there a way to open another form using info from an already existing one?
For example, I have a form which lists companies and it has an employee subform (which lists a query output) on the same form. I'd like to program it so that when I click on an employee row (in the subform), a separate form pops open to display employee specific information (from the row that I clicked) and cycle through the list of employees from the employee query.

I've checked random sites to see how this can be done and only see the standard mouse event functions. Does anyone know how I can make this happen?

Thanks!
Reply With Quote
Sep 12 '08 #1
2 1658
puppydogbuddy
1,923 Expert 1GB
Is there a way to open another form using info from an already existing one?
For example, I have a form which lists companies and it has an employee subform (which lists a query output) on the same form. I'd like to program it so that when I click on an employee row (in the subform), a separate form pops open to display employee specific information (from the row that I clicked) and cycle through the list of employees from the employee query.

I've checked random sites to see how this can be done and only see the standard mouse event functions. Does anyone know how I can make this happen?

Thanks!
Reply With Quote
Yes, via the open arguments (openArgs) parameter as discussed in this thread:

http://bytes.com/forum/thread203672.html
Sep 14 '08 #2
Yes, via the open arguments (openArgs) parameter as discussed in this thread:

http://bytes.com/forum/thread203672.html
Thanks you very much!
Sep 23 '08 #3

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

Similar topics

9
by: punkin | last post by:
I am trying to catch mouse position on the entire screen by dynamically generating mouse click event at every 100 ms. My code only works for IEs but not any Netscape or Gecko-based browsers. The...
3
by: mitsura | last post by:
Hi, I have included a small listing. The test program opens a panel and show a bitmap. What I want is to when the mouse is over the bitmap panel, I want to trap the left mouse click. The...
6
by: AccessWhiz | last post by:
I have been trying desperately for the past few days to figure out why the MouseWheel solution that I retrieved from the Lebans website won't work. The access database included with the solution...
5
by: Jerry Crosby | last post by:
Strangely, one of my forms has acquired an odd "feature." On many things that used to require a single click, or a single hit on the Enter key, now require two clicks, or two hits. For example,...
6
by: lauren quantrell | last post by:
I have a command button on a continuous subform and I want the user to click it to open a small popup form that opens in the position of the mouse (which is the same as the position of the command...
5
by: Charles Law | last post by:
Sorry for reposting this question, but I did not get a single answer last time, and I'm sure you guys must have some thoughts on the matter. I have a user control which can be dragged and dropped...
3
by: jcrouse | last post by:
I have created a form designer type application (with a lot of you peoples helpJ). It has label controls that are draggable at runtime. The user is also allowed to change some properties such as...
0
by: mmcd79 | last post by:
I'm wondering if anyone else is having this issue. It's driving me batty. It seems my mouse wants to "double click" on items when I'm just doing a single click. I thought it was the mouse so I...
1
by: Marcolino | last post by:
Hi, I'm new with VB.net and I comming from VB6 programming. I need to open a little form in Modal and child of MDI, with the top- left corner where the mouse has clicked. I tryed this code but...
1
by: Paul Brady | last post by:
First, apologies iif this is an old problem. I do read this group, but I may have missed it. When I open a form in A2K to put data into a record (or create a new record), all is well provided I...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
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...
0
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.