Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 17th, 2003, 03:13 PM
Registered User
Join Date: Dec 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Record selected goes to new form

I have a look up and after I select a record from the look up box I have it open a form that includes a the records queried. I want the form to open up with the record I selected from the look up in the form.
Let me give an example I do a look up for everything scheduled for a certain date. I found 15 records shown in the look up box and I select the 7th record on the click property I have it set to open a new form which has all the 15 records found. I want this form to remember and to open with the 7th record that I selected from the look up box.


Reply With Quote
  #2 (permalink)  
Old December 23rd, 2003, 08:29 AM
Authorized User
Join Date: Jun 2003
Location: Great Dunmow, Essex, United Kingdom.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts

Presumably you are passing the complete recordset to the new form. Use the Index property of the listbox as a pointer to the record in the recordset by setting the recordset's absoluteposition property

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
passing unique record from form to form Baconant Beginning VB 6 1 January 2nd, 2008 06:20 PM
unable to get selected value form dropdownlist swati_joshi ASP.NET 1.0 and 1.1 Basics 3 March 31st, 2006 12:35 PM
Open a table selected in a html form SKE Access ASP 3 May 19th, 2005 01:40 AM
Open a table selected in a html form SKE Classic ASP Databases 0 May 17th, 2005 08:59 AM

All times are GMT -4. The time now is 04:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.