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

Instance of a form

Wan
Hi,
I have two instances of a form populated with two different
records. If I click on 1st form instance after opening up the 2nd
instance the dataset is pointing to recordset from instance 2. I
would like to know how to keep the correct dateset base on the form
instance selected.

I looked into form mouse_down event, but I'm sure that's another way
to solve this issue. Thanks in advance.

Wan

Jun 5 '07 #1
3 887
Probably you should consider using different datasets and not same one.

HTH
Alex

"Wan" <wa****@yahoo.comwrote in message
news:11*********************@i38g2000prf.googlegro ups.com...
Hi,
I have two instances of a form populated with two different
records. If I click on 1st form instance after opening up the 2nd
instance the dataset is pointing to recordset from instance 2. I
would like to know how to keep the correct dateset base on the form
instance selected.

I looked into form mouse_down event, but I'm sure that's another way
to solve this issue. Thanks in advance.

Wan


Jun 5 '07 #2
Wan
Probably you should consider using different datasets and not same one.
Thanks Alex for the reply. I was kind of thinking that create a new
dataset
for each new form instance. Hopefully, I will get additional feedback
on this.

Wan

Jun 5 '07 #3
Wan,

I don't understand you, recordset dataset, what are you using. (And some
more information, instances of a form, are this two complete different forms
and how did you show them?).

Cor

"Wan" <wa****@yahoo.comschreef in bericht
news:11*********************@i38g2000prf.googlegro ups.com...
Hi,
I have two instances of a form populated with two different
records. If I click on 1st form instance after opening up the 2nd
instance the dataset is pointing to recordset from instance 2. I
would like to know how to keep the correct dateset base on the form
instance selected.

I looked into form mouse_down event, but I'm sure that's another way
to solve this issue. Thanks in advance.

Wan

Jun 6 '07 #4

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

Similar topics

6
by: Dmitry Karneyev | last post by:
Hi! I guess this question have been asked a lot of times, but please be tolerant and if you have any ideas share it. The question is: how to make availibale only one instance of application and...
0
by: Miro | last post by:
I searched google and I think I have solved the issue. Again, if someone could quickly skim over my example and lemmi know if it is the "correct" way of doing things. It works, but again - is it...
3
by: Mark Jerde | last post by:
VS 2005. When I google "CSharp single instance form" the returned pages usually use a Mutex or the VB.NET runtime library....
3
by: Jon | last post by:
My main form opens up another form, and from this other form, I'd like to access things in the main form. The problem is that although I know the name of the class of the main form (FormMain) I...
7
by: =?Utf-8?B?TWF0dA==?= | last post by:
Hi I have an app that runs without a main form, just a notification icon, when the user clicks the icon the form is shown, and when the form is minimized it's hidden. This all works great,...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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,...

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.