Hi, Kenny.
How to type a control source or field or a form where they have spaces
between the words in vba?
Smile and thank these folks who created the Access database for keeping
you
gainfully employed for years to come while you find work-arounds for all
of
the software application problems they created. If there are spaces or
special characters in the names of tables or fields (any identifier,
really),
or if key words or reserved words are used for these identifiers, place
brackets around the name and Jet and Access will parse the identifier
correctly in an expression. Keep in mind that non-standard identifiers
can't
be parsed within most database servers, so upgrading a database
application
full of these non-standard identifiers will be quite time-consuming and
keep
you (or your successor) employed in this era of I.T. downsizing.
Example syntax:
Me![codes and product]
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
Beware to those who use munged addresses: known newsgroup E-mail
harvesters
for spammers are (e-mail address removed) and (e-mail address removed)
- - -
When you see correct answers to your question posted in Microsoft's
Online
Community, please sign in to the Community and mark these posts as
"Answers,"
so that all may benefit by filtering on "Answered questions" and quickly
finding the right answers to similar questions. Remember that questions
answered the quickest are often from those who have a history of
rewarding
the contributors who have taken the time to answer questions correctly.
:
How to type a control source or field or a form where they have spaces
between the words in vba?
eg codes and product
if
Me!codes and product ==>error
Me!customer details ==>error
Any solution?
Thanks in advance
Kennykee