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

Dear how can i run Function CapitilizeFirstLetter in MICROSOFT ACCESS VBA FUNCTION th

Dear how can i run Function CapitilizeFirstLetter in MICROSOFT ACCESS VBA FUNCTION thanks
Mar 21 '19 #1
2 944
twinnyfo
3,653 Expert Mod 2GB
Determine the ASCII value of the first letter and change it.
Mar 21 '19 #2
ADezii
8,834 Expert 8TB
  1. Code Definition:
    Expand|Select|Wrap|Line Numbers
    1. Dim strTest As String
    2. Dim strCapFirst As String
    3.  
    4.  
    5. strTest = "The cat ran over the hot tin roof."
    6. strCapFirst = StrConv(strTest, vbProperCase)
    7.  
    8. Debug.Print strTest & vbCrLf & strCapFirst
[*] OUTPUT:
Expand|Select|Wrap|Line Numbers
  1. The cat ran over the hot tin roof.
  2. The Cat Ran Over The Hot Tin Roof.
[/list]
Mar 25 '19 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

38
by: Lasse Vågsæther Karlsen | last post by:
After working through a fair number of the challenges at www.mathschallenge.net, I noticed that some long-running functions can be helped *a lot* by caching their function results and retrieving...
7
by: Alex | last post by:
Hi all, I've found a module that I think will help me combine fields properly, but I'm unsure how to add or use it with Access 2000. Below is the module I'd like to add: ...
2
by: bobc | last post by:
Any help appreciated with this problem -- I have a Microsoft Access 2002 application. The Access mdb has a refence to DAO 3.6 (not ADO). A form is bound to a linked table in a second mdb. In the...
5
by: somersbar | last post by:
hello all, im trying to connect to a microsoft access database from an ASP.NET web form. i keep getting the following error though: ERROR Could not use '(unknown)'; file already in use....
28
by: Larax | last post by:
Best explanation of my question will be an example, look below at this simple function: function SetEventHandler(element) { // some operations on element element.onclick = function(event) {
0
by: Amit | last post by:
Hi All, I have to use Access DoCmd.TransferText function of access in my C# code. For it I am taking the reference of Microsoft.Office.Interop.Access dll. But I am not getting Access class ie...
15
by: dspfun | last post by:
Hi, Is it possible to print the function name of the calling function? For example, f1() and f2() both calls f3(), in f3() I would like to print the name of the function calling f3() which...
2
by: melekuh | last post by:
Dear people, I have a question as I am fairly new to this... As I have a programmer who is programmed our accounting software using microsoft access. Now we want to purchase Quickbooks, but is it...
7
by: -Lost | last post by:
Is it possible to end the outermost function from an inner function? I've been tasked with implementing a feature check in some existing code and I wondered if this could be done: function...
1
by: Corey Buchan | last post by:
Firstly I am using Microsoft Access 2007 I am currently trying to build a database that can search through specific lessons learnt for a company. I have started by building a table, which includes...
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: 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
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: 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...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.