text box

M

martin placek

Hello
I would like to equate the contents of a text box to a
variable. Dirk told me that i should use the value
property for this, but it is not an option in VBA. Am i
missing something?

Thanks in advance

Martin
 
D

Dirk Goldgar

martin placek said:
Hello
I would like to equate the contents of a text box to a
variable. Dirk told me that i should use the value
property for this, but it is not an option in VBA. Am i
missing something?

You must be missing something? An Access text box always has a Value
property. You are working in Access, not VB, right? Please show the
code you're trying to execute, and describe the background details a
little.
 
G

Guest

many thanks. I obviously wasnt looking hard enough
-----Original Message-----
dim varYourVariable as variant 'for example purposes
varYourVariable = Text1.Value


.
 

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

Top