Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Store a value from a Subform..? 1

Status
Not open for further replies.

Kujen

Technical User
Oct 13, 2007
57
SE
Hi all,

How can I store a value from a Subform?
Something like:
=============================
Dim strString as string
strString= Forms![FrmGrund]![Subform].Forms![TxtCtrl]
=============================

Kent J.
 
How are ya Kujen . . .

Missed it my one letter!
Code:
[blue]   strString= Forms![FrmGrund]![Subform].Form[COLOR=yellow red]s[/color]![TxtCtrl]
should be:
   strString= Forms![FrmGrund]![Subform].Form![TxtCtrl][/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top