• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

dbCombo and Data Control

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
DPPro
Asked:
DPPro
  • 3
1 Solution
 
DalinCommented:

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

0
 
DPProAuthor Commented:
This didn't work.
0
 
DalinCommented:
DPPro,
Explain how you set your dbcombo? posibly post your code.
Regards
0
 
DalinCommented:
Sorry, I missed the two single quotes:


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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now