By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,347 Members | 2,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,347 IT Pros & Developers. It's quick & easy.

combining data in crontrol source

P: n/a
All,

I'm trying to combine 2 fields into one on my form, I got it to work
by combining them in the control source of an unbound text box:

=[DistrictID] & " " & [TeacherNum]

The district number is in the format of D00, how can I replace the D
with T

Thanks for any help I can get.

Sep 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Shiller" <sh******@gmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.com...
All,

I'm trying to combine 2 fields into one on my form, I got it to work
by combining them in the control source of an unbound text box:

=[DistrictID] & " " & [TeacherNum]

The district number is in the format of D00, how can I replace the D
with T

Thanks for any help I can get.
How about:
="T" & Mid([DistrictID],2,2) & " " & [TeacherNum]
Fred Zuckerman
Sep 17 '07 #2

P: n/a
On Sep 17, 11:14 am, "Fred Zuckerman" <Zuckerm...@sbcglobal.net>
wrote:
"Shiller" <shill...@gmail.comwrote in message

news:11**********************@d55g2000hsg.googlegr oups.com...
All,
I'm trying to combine 2 fields into one on my form, I got it to work
by combining them in the control source of an unbound text box:
=[DistrictID] & " " & [TeacherNum]
The district number is in the format of D00, how can I replace the D
with T
Thanks for any help I can get.

How about:
="T" & Mid([DistrictID],2,2) & " " & [TeacherNum]
Fred Zuckerman
wow,

it works perfectly.

do you recommend any access book that covers details like that.

Thank you so much for helping.

Sep 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.