473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

combining data in crontrol source

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
2 1120
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ilan | last post by:
Hi all I need to add data from two Excel sheets (both on the same workbook) to an existing table in my SQL DB. The problem is that each sheet holds different fields for the same record, though...
2
by: Balrog | last post by:
Hi! I wonder if anyone could give me some hints/pointers. This is what I'm trying to do: say, I have the following: - data (most likely XML) Example: <colour>red</colour> - data validation...
2
by: Chris Mullins | last post by:
I've spent a bit of time over the last year trying to implement RFC 3454 (Preparation of Internationalized Strings, aka 'StringPrep'). This RFC is also a dependency for RFC 3491...
15
by: Phillip Rhodes | last post by:
Hi all, I have a question I hope someone can help me with: I'm doing some communication over a socket, and have need to send and receive values of type double. I'm doing everything in terms of...
7
by: Barry | last post by:
Hi all, I've noticed a strange error on my website. When I print a capital letter P with a dot above, using & #7766; it appears correctly, but when I use P& #0775 it doesn't. The following...
2
by: enock | last post by:
Hi all, I have a distributed database environment. I need to bring all the data from the distributed centers into one central database. I have replicated all data from the different centers into...
2
by: rdraider | last post by:
Using SQL 2000, how can you combine multiple records into 1? The source data is varchar(255), the destination will be text. I need help with the select statement. example tables: CREATE TABLE ...
5
by: girays | last post by:
I want to make a good design about combining information. Suppose you have different data types, and each may have semantically same data. I want to merge these different data types into a single...
3
by: Ken Fine | last post by:
This is a question that someone familiar with ASP.NET and ADO.NET DataSets and DataTables should be able to answer fairly easily. The basic question is how I can efficiently match data from one...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.