Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 9th, 2004, 11:58 PM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Listbox to textbox

Hi All

I've was wondering if it is possible to set value in an unbound textbox from double clicking in a listbox.
The listbox has 6 columns and I want to set value in 3 textboxes from 3 of the columns in the listbox.

Any help is highly appreciated.

Thanks / Fred

Reply With Quote
  #2 (permalink)  
Old May 10th, 2004, 07:11 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Melbourne, Vic, Australia.
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Set the Control source for the textboxes to be:
Code:
=[YourListBox].Column(2)
etc





I am a loud man with a very large hat. This means I am in charge
Reply With Quote
  #3 (permalink)  
Old May 10th, 2004, 10:37 PM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To my fellow Australian,

Thank you so much, I had a feeling it would be something simple like that.
I tried something similar, but my shortcomings in VBA unabled me to add the brackets and the dot.

Cheers / Fred



Reply With Quote
Reply


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
How can I set TextBox value from asp.net Listbox, vishnu108mishra ASP.NET 2.0 Professional 1 March 10th, 2008 06:11 AM
multiple Listbox values in another listbox terryv Excel VBA 0 June 27th, 2007 07:01 AM
listbox/Textbox/sql Rudner VB How-To 0 March 9th, 2005 02:44 AM
Listbox/textbox johnjohn Classic ASP Basics 4 December 11th, 2004 12:14 AM
I'm back :) Listbox var from listbox MichaelTJ .NET Web Services 2 October 21st, 2003 07:06 PM



All times are GMT -4. The time now is 06:32 AM.


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