🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104

Re: Help needed on updating texboxes

#104
From: Tony
Date: Mon, 03 Nov 1997 03:47
32 lines
2071 bytes
Try putting your code in the Change event.  Only do this though if the data
entered is in the listbox since you don't want to do your lookup on partial
entries.  Hence:
- Write code to look up the text value in the listbox.
- If found invoke your code that populates the textboxes.

--
Later,
Tony Fountain
Digital Horizons, Inc.
tonyfo@primenetNoSpam.com
tony@dhiwebNoSpam.com

Andy Duckworth wrote in message <01bce79d$c3d18060$87577ec2@duckfather>...
>Urgent help please!
>
>I have a user form in an Access 97 document that has a combo box looking up
>info from a table. Connected to this I have various textboxes showing
>related info from the database. When I change the value in the combo, the
>values in the text boxes change as expected. What I want is to be able to
>type something into the combo box and have the values in the text boxes
>change dynamically. Can any body help in this. I will be needing to do this
>in a VB5 app in the near future as well as in Access.
>
>Thanks in anticipation.
>
>email at either duckfather@dux.globalnet.co.uk      or
>andy_duckworth@allied-colloids.co.uk
>
>Cheers
>
>Andy
Technical Details
Message-ID: <63jhfl$814@nntp02.primenet.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!ict.pwr.wroc.pl!nntp.uio.no!www.nntp.primenet.com!globalcenter0!news.primenet.com!news.primenet.com!not-for-mail
References: <01bce79d$c3d18060$87577ec2@duckfather>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!ict.pwr.wroc.pl!nntp.uio.no!www.nntp.primenet.com!globalcenter0!news.primenet.com!news.primenet.com!not-for-mail
From: "Tony" <tonyfo@primenet.com>
Newsgroups: microsoft.public.msdn.general,microsoft.public.officedev,microsoft.public.vb.database,microsoft.public.vb.enterprise,microsoft.public.vb.syntax,microsoft.public.word.programming,pl.comp.lang.vbasic
Subject: Re: Help needed on updating texboxes
Date: 2 Nov 1997 20:47:01 -0700
Organization: Primenet Services for the Internet
Lines: 34
Message-ID: <63jhfl$814@nntp02.primenet.com>
References: <01bce79d$c3d18060$87577ec2@duckfather>
X-Posted-By: @206.165.57.36 (tonyfo)
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit