> however i need the code to populate the answer text box(text box 2)
> from the db via the list box.
I'm afraid I don't understand what you're trying to say. Could you
elaborate on what exactly you wish to accomplish?
Thanks,
Seth Rowe
si_owen wrote:
> hi all
>
> i have a db linked to a list box
>
> what i also have is 2 text boxes which need to be populated from the db
> via the list box.
>
> the two records i need returning from the same table are question and
> answer.
>
> the first text box is populated by the question (when list box item
> selected) using the following code:
>
> Me.TextBox1.Text = Me.ListBox1.SelectedItem.Text
>
> however i need the code to populate the answer text box(text box 2)
> from the db via the list box.
>
> many thanks
>
> simon
|