Advertisement

04.25.2008 at 08:06AM PDT, ID: 23353758
[x]
Attachment Details

Access SQL to Insert into Text field from Listbox?

Asked by c9k9h in Access Coding/Macros, Microsoft Access Database, Microsoft Development

Tags: Microsoft, Access, 2003

Hello,

I have a listbox that populates via hard coded query in the after update event of a text box. What I would like to do is take the results from this listbox and insert them into a textbox so that they will be added to the record (row) or even better, it would be nice to have a text box populate after the query is run rather than the listbox, but i dont think that is going to happen... Here is the query that populates the list box:

Me.DX.RowSource = "SELECT N_DNS_CAT FROM [LTC_P_TLTC_CLM_ICD9_TNL] WHERE [C_DNS]= '" & Me.txtICD9 & "'"


Thanks!Start Free Trial
[+][-]04.25.2008 at 08:20AM PDT, ID: 21440437

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Microsoft Access Database, Microsoft Development
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: MikeToole
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.25.2008 at 08:40AM PDT, ID: 21440639

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628