I have a text box with the following:-
=Trim([Address Line 1] & (", "+[Address Line 2]) & (", "+[Address Line 3]) & (", "+[Address Line 4]) & (", "+[Town]) & (", "+[Property.Post Code]))
What I would like is for [Town] to be an initial capital and not all caps. Any help much appreciated.
For future reference, MS Access questions need to be asked in the Access forum. I have requested a moderator to move this to the correct forum, but in the meantime I will answer here.
Now that I know this isn't a VB.NET application, try this instead: - =Trim([Address Line 1] & (", "+[Address Line 2]) & (", "+[Address Line 3]) & (", "+[Address Line 4]) & (", "+StrConv([Town], 3)) & (", "+[Property.Post Code]))
8 1033
Try something like this: - strName = StrConv(strName, VbStrConv.ProperCase)
Try adding it to your current textbox like this: - =Trim([Address Line 1] & (", "+[Address Line 2]) & (", "+[Address Line 3]) & (", "+[Address Line 4]) & (", "+StrConv([Town], VbStrConv.ProperCase)) & (", "+[Property.Post Code]))
I've put this in but in the form proper is #Name?. I've noticed when I input the code ... (", "+StrConv([Town], VbStrConv.ProperCase)) changes to ... (", "+StrConv([Town],[VbStrConv].[ProperCase])) in the Control Source.
Is this a VB.NET application or an MS Access database?
It is MS Access database.
For future reference, MS Access questions need to be asked in the Access forum. I have requested a moderator to move this to the correct forum, but in the meantime I will answer here.
Now that I know this isn't a VB.NET application, try this instead: - =Trim([Address Line 1] & (", "+[Address Line 2]) & (", "+[Address Line 3]) & (", "+[Address Line 4]) & (", "+StrConv([Town], 3)) & (", "+[Property.Post Code]))
My apologies, I did not realise I was posting on a VB forum. It works perfectly. Thank you.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Andrew James |
last post by:
Gentlemen,
I'm running into a problem whilst testing the parsing of a language I've
created with TPG . It seems that for some reason, TPG balks when I try
to parse an expression whose first...
|
by: Peter Jenkins |
last post by:
Can anyone suggest a better/clearer guide than this
A List Apart article? http://www.alistapart.com/stories/accesskeys/
It appears to be not quite right as when I do as it suggests...
it...
|
by: Alan J. Flavell |
last post by:
OK, today's email brought a comment from a reader, pointing out
something that I'd long since noticed myself but hadn't done anything
about it.
On my pages, I've got a first-letter style on...
|
by: Patrick |
last post by:
I am trying to get "first-letter" to work inline withing an anchor. Actually
I have not been able to get it to work within an <a> tag whether inline,
linked, or embedded. Using IE6 service pack 1....
|
by: Steve Pugh |
last post by:
I have some styles which IE (Win - tested in 5, 5.5 and 6) is only
applying to the first letter of the element. Basic stuff like
font-weight and font-size applied to a <p> or <hx> element via...
|
by: news.individual.net |
last post by:
Hi!
Can I capitalize the first letter of the first paragraph without using
a special class for that <p> ?
I tried it with this:
body > p:first-child:first-letter {
font-size: 270%;
|
by: Fungii |
last post by:
Hello,
I have a stylesheet that sets p:first-letter to a certain
size and colour. I was playing around with Javascript to change
paragraph stylesheets using an array like this:
var paras =...
|
by: gil |
last post by:
I have a script that will capitalize the first letter of every word in
my descriptions. But some of my descriptions contain ( ) and /. For
example bezel (black). I need the script to capitalize...
|
by: Sven Rudolph |
last post by:
Hi,
I just made a web site and stumbeled upon something, that seems to be a
stylesheets bug in Konqueror.
When Iuse :first-letter on the a-tag, Konqueror doubles the first letter
when I click...
|
by: sehodge |
last post by:
<STYLE type="text/css">
P { font-size: 10pt; color:#000;}
P:first-letter { font-size: 150%; color:red; font-weight: bold; float: left }
</STYLE>
Later, I want the first...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |