473,383 Members | 1,978 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,383 software developers and data experts.

address fields

Could somebody please help with formatting the address field to show
initial capital letters eg:- Broad Lane, when broad lane is typed.
I would think that this has been asked many times before but as being
new to this and looking through the last posts, I cannot find the answer to
my question.
Thanking you in advance
David Davies
Huddersfield
England
Jul 24 '06 #1
7 1434
On Mon, 24 Jul 2006 19:02:50 GMT, DAVID DAVIES wrote:
Could somebody please help with formatting the address field to show
initial capital letters eg:- Broad Lane, when broad lane is typed.
I would think that this has been asked many times before but as being
new to this and looking through the last posts, I cannot find the answer to
my question.
Thanking you in advance
David Davies
Huddersfield
England
Use an unbound text control.
Set it's control source to:

=StrConv([AddressFieldName],3)

Note: this will not correctly capitalize street names that should have
more than one capital letter, i.e. McDonald Blvd., as well as those
names which should not be capitalized at all, i.e. van Houten Place.

It would be best to create and use a lookup table so that when the
address is entered by the user, the user can be asked to OK, or Not OK
any variant spelling.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 24 '06 #2
You can also use the format section under properties to specify caps.
If you have a book it'll make life easy or just hit F1 and it'll give
you the syntax after some digging.
fredg wrote:
On Mon, 24 Jul 2006 19:02:50 GMT, DAVID DAVIES wrote:
Could somebody please help with formatting the address field to show
initial capital letters eg:- Broad Lane, when broad lane is typed.
I would think that this has been asked many times before but as being
new to this and looking through the last posts, I cannot find the answer to
my question.
Thanking you in advance
David Davies
Huddersfield
England

Use an unbound text control.
Set it's control source to:

=StrConv([AddressFieldName],3)

Note: this will not correctly capitalize street names that should have
more than one capital letter, i.e. McDonald Blvd., as well as those
names which should not be capitalized at all, i.e. van Houten Place.

It would be best to create and use a lookup table so that when the
address is entered by the user, the user can be asked to OK, or Not OK
any variant spelling.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 24 '06 #3
fredg,
That sounds perfect for me and thanks but where do I set the control
source. I have looked through all the table properties and cannot find it.
David
Jul 24 '06 #4
DAVID DAVIES wrote:
Could somebody please help with formatting the address field to show
initial capital letters eg:- Broad Lane, when broad lane is typed.
I would think that this has been asked many times before but as being
new to this and looking through the last posts, I cannot find the answer to
my question.
Show the User the Shift Bar?

Jul 24 '06 #5
On Mon, 24 Jul 2006 23:18:33 GMT, DAVID DAVIES wrote:
fredg,
That sounds perfect for me and thanks but where do I set the control
source. I have looked through all the table properties and cannot find it.
David
This is for data already entered into your database.
Add an unbound text control to the report (from the Toolbox).
Right-click on it and select Properties.
Click on the Data tab.
The control source is the first property on that tab.
Write:
=StrConv([AddressFieldName],3)
on that line.
Change [AddressFieldName] to whatever the actual field name is.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 25 '06 #6
Thankyou Fred,
That has partly answered my query and been very helpful.
The database I am trying to sort out contains over 300000 entries and
has become quite messy. Is there a format or input code for the actual field
in the table that will have the same effect ?.
David
Jul 25 '06 #7

"DAVID DAVIES" wrote
The database I am trying to sort out
contains over 300000 entries and
has become quite messy. Is there a format
or input code for the actual field
in the table that will have the same effect ?.
You can use that function in an Update Query to change all Records in the
Table.

Larry Linson
Jul 25 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: farqs | last post by:
I've got a form with feilds: Address, Suburb, State, Pcode (for the Location Addres) and then: PAddress, PSuburb, PState, PPcode (for the Postal Address). When the postal address is the same as...
5
by: Kamaluokeakua | last post by:
I have to write an application that deals with clients in multiple countries. The addresses, phone numbers, country id and currency information has to be stored into a database that allows for the...
8
by: james | last post by:
I am trying to use Filestream to read a file ( .DAT) that contains values in HEX that I want to convert to text. I know the different offset addresses for each portion of the data I am trying to...
5
by: Kevin Newman | last post by:
Does anyone know of any application (AJAX or other) that will display the appropriate address for for the selected (or detected) country? If not, does anyone know where I can find a list or...
11
by: !truth | last post by:
Hi, i feel confused about the following program, and it's works to get a pointer-member's address. #define NETDEV_ALIGN 32 #define NETDEV_ALIGN_CONST (NETDEV_ALIGN - 1) ...
7
by: Chris Morley | last post by:
Hi, i have found out as i have developed the database i've ended up with a number of tables that have the same attributes. For instance, my suppliers and customers have the same fields for the...
10
by: H | last post by:
Hi, I have the following address fields in a table: flat_number house_name_or_number street village postal_town county postcode
2
by: razjafry | last post by:
Hi Gurus, I have street address fields as Addr1, Addr2, City, PCode, Prov, Country. Then I have a check box asking if the mailing address is same as the street address. How I can populate all the...
4
by: karen.homersham | last post by:
Just working through Apress Pro ASP NET.2.0.E Commerce in C Sharp. I am having problems compiling the following: using System; using System.Collections.Generic; using System.Text; namespace...
7
by: e2point | last post by:
hi, i got a program that is suppose to run 24x7x365. However after functioning for around 15 minutes, it crashes due to a segmentation fault. program is written in c++ and runs in RH Linux 4. When...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.