Sintaxe in textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

In form I have a combo with three columns, where the second is IdNumber, but
hidden.
I Would like which the syntax in the Source Control of one textbox of form,
to show us the value of the related hidden IdNumber.

Thanks in advance.
an
 
the syntax to display the value from a combo box column in an unbound
textbox control on the same form is

=[ComboBoxName].[Column](1)

replace ComboBoxName with the correct name of the combo box control, of
course. note that the combo box column index is zero-based, so the first
column (counting from left to right) is 0, the second column is 1, etc.

hth
 
Thanks for your reply.

That is a desperation...
Already before it had attemped both your solutions.
Result:
Empty TxtBox

Changed the textbox name, I erased and I made another one. Nothing!
Thanks.
an

tina said:
the syntax to display the value from a combo box column in an unbound
textbox control on the same form is

=[ComboBoxName].[Column](1)

replace ComboBoxName with the correct name of the combo box control, of
course. note that the combo box column index is zero-based, so the first
column (counting from left to right) is 0, the second column is 1, etc.

hth


an said:
Hi!

In form I have a combo with three columns, where the second is IdNumber, but
hidden.
I Would like which the syntax in the Source Control of one textbox of form,
to show us the value of the related hidden IdNumber.

Thanks in advance.
an
 
AM,

Thanks for your reply.

Already before it had attemped your solution.
Result:
Empty TxtBox

Changed the textbox name, I erased and I made another one. Nothing!
Where it could be the problem, please?
an
 
Tina,

The problem was because the cbo passed to "" after to send the content for
another one textbox.

Thanks you.
an

tina said:
the syntax to display the value from a combo box column in an unbound
textbox control on the same form is

=[ComboBoxName].[Column](1)

replace ComboBoxName with the correct name of the combo box control, of
course. note that the combo box column index is zero-based, so the first
column (counting from left to right) is 0, the second column is 1, etc.

hth


an said:
Hi!

In form I have a combo with three columns, where the second is IdNumber, but
hidden.
I Would like which the syntax in the Source Control of one textbox of form,
to show us the value of the related hidden IdNumber.

Thanks in advance.
an
 
AM,

The problem was because the cbo passed to "" after to send the content for
another one textbox.

Work fine after to put = before code.
Thanks you too.

an
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top