andy0809

how label read field value with vba?

Discussion created by andy0809 on Jul 1, 2010
Dear All vba programmer

I???m writing code to create identify tool with vba. I have 3 labels in userform, when I click the tool on a feature, the Label1 changes to the value of field Land_Unit, Label2 changes to the value of field KABUPATEN, Label3 changes to the value of field REMARKS. What is the code after the symbol (&) as shown below?

frmShortIdentify.Label1.Caption = "Land Unit " &
frmshortidentify.Label2.Caption= "Kabupaten " &
frmshortidentify.Label3.Caption= "Satuan lahan ini merupakan " &

I thank you so much for anyone who helps.

Andy

Outcomes