Simple VB Question about Fields

  • Thread starter Thread starter Michael Kintner
  • Start date Start date
M

Michael Kintner

If I have an expression: Forms![TankInfo]![LeakHydroTestDate] = Results

What is this line in VB?

Thank you in advance,
Mike
 
Michael Kintner heeft ons zojuist aangekondigd :
If I have an expression: Forms![TankInfo]![LeakHydroTestDate] = Results

What is this line in VB?

Thank you in advance,
Mike

Me.LeakHydroTestDate = Results
or
TankInfo.LeakHydroTestDate = Results
 
Michael,

If you mean "how do I write this expression in VB", then:
Forms![TankInfo]![LeakHydroTestDate] = Results

If you mean "what does this line mean/do?", then:
If assigns the value contained in a variable/object called "Results" to
a form control called "LeadHyDroTestDate" on a form called "TankInfo".

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

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