Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 10th, 2004, 11:13 AM
lxu lxu is offline
Authorized User
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Switch Focus between 2 Forms

I have the following question and thanks for any suggestion.

- There are 2 forms, Form 1 and Form 2,
- A combo box and a button are on Form 1
- After selecting a code from the combo box, click button
- Form 2 is opened with data which is retrieved from database and related to the code selected. The data is shown on the tabular format.

What I have to do is:
- Click to data on a table cell of Form 2.
- The focus switches to the combo box of Form 1, the data which is in the combo box and should be highlighted

How to make to work?

Thanks in advance for help!
Lx




 
Old March 11th, 2004, 09:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to restate your statement and questions more clearly. I am not clear what you are saying and asking.

How is form 1 and 2 related ?
Is the cbo box bound or unbound?
Is form1 and form 2 separate or are they form subform?
What do you mean by:
1. After selecting a code from the combo box ?
2. Click to data on a table cell of Form 2 ?

When you put a posting you have to be very clear. If you do not people tend to ignore you posting and I am sure you do not want this.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch mamatharocks Biztalk 0 May 22nd, 2008 11:29 PM
if or switch Dink Classic ASP Databases 2 February 4th, 2007 04:00 AM
Multiple Forms and the Return Key Focus rit01 ASP.NET 2.0 Basics 4 June 20th, 2006 01:44 PM
Switch rajuru Beginning PHP 2 February 9th, 2005 11:24 AM
case switch thtrance BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 August 26th, 2004 02:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.