[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

dbCombo and Data Control

Posted on 1998-08-08
4
Medium Priority
?
175 Views
Last Modified: 2010-04-30
I know the answer is probably in paq but it's worth the points to not search all day. My question is.....
How do I make whatever I select from my dbCombo Dropdown the current record in my data control? VB5
0
Comment
Question by:DPPro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 9

Expert Comment

by:Dalin
ID: 1468309

DPPro,
In the dbCombo's Change event, add:
dataControlName.Recordset.FindFirst "YourFieldName = " & dbCombo.Text
Any problems let me know.
Regards
Dalin

0
 

Author Comment

by:DPPro
ID: 1468310
This didn't work.
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1468311
DPPro,
Explain how you set your dbcombo? posibly post your code.
Regards
0
 
LVL 9

Accepted Solution

by:
Dalin earned 200 total points
ID: 1468312
Sorry, I missed the two single quotes:


       dataControlName.Recordset.FindFirst "YourFieldName = '" & dbCombo.Text & "'"
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question