473,466 Members | 1,511 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

using a text box to filter through a list

Hey,

I'm having quite a bit of trouble trying to filter through a list
using a text box and multiple combo boxes. When you write anything in
the text box the list goes blank. Although when you select something
from one of the combo boxes nothing happens at all.

Help will be greatly appreciated.
Nov 13 '05 #1
2 1693
On 20 Feb 2005 21:00:01 -0800, chrisse <ch*******@hotmail.com> wrote:
I'm having quite a bit of trouble trying to filter through a list
using a text box and multiple combo boxes. When you write anything in
the text box the list goes blank. Although when you select something
from one of the combo boxes nothing happens at all.


The list goes blank because of event code that you have written. Nothing
happens when you update the combo box because there is code in the After
Update event that you have not written. If you could post the code from
both ...
Darryl Kerkeslager
Nov 13 '05 #2

Darryl Kerkeslager wrote:
On 20 Feb 2005 21:00:01 -0800, chrisse <ch*******@hotmail.com> wrote:
I'm having quite a bit of trouble trying to filter through a list
using a text box and multiple combo boxes. When you write anything in the text box the list goes blank. Although when you select something from one of the combo boxes nothing happens at all.
The list goes blank because of event code that you have written.

Nothing happens when you update the combo box because there is code in the After Update event that you have not written. If you could post the code from both ...
Darryl Kerkeslager

Thanks so much, here it is:

Private Sub Description_Change()

SendKeys "+~", True

DoCmd.RunCommand acCmdSaveRecord

If Me.Details.ItemsSelected.Count = 0 Then

SearchProc

Else

EditProc
End If

DoCmd.GoToControl "Description"
Me.Description.SelLength = 0

SendKeys "{end}", True

End Sub

Private Sub Details_AfterUpdate()

DetailVar = Me.Details

LoadSentinel = False

DetailSelectedVar = 0
Call RefreshFormProc(DetailVar)

End Sub

I think thats what you'll need.

Thanks again

Christina

Nov 13 '05 #3

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

Similar topics

0
by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are...
6
by: Ian Davies | last post by:
Hello all I have the following PHP script to place records from my MySql db into a table. However I now wish users to beable to select the multiple records from the table and on clicking a button...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
1
by: Prasad Karunakaran | last post by:
I am using the C# DirectoryEntry class to retrieve the Properties of an user object in the Active Directory. I need to get the First Name and Last Name as properties. I know it is not supported...
4
by: tasahmed | last post by:
Hello Friends, I wrote a function which scans the current working directory and lists out details such as directory/file owner, permission etc. The output of this script can be viewing in the...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
4
by: Fran | last post by:
I recently tried to use code for "Use a multi-select list box to filter a report" from Allen Browne in my database. I was able to add the code and adapt it to my needs, however I am getting an...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.