From: Twimm on
I have a simple query that pulls data from a single table containing
some basic client information. One field is a text field containing
alpha-numeric data. For purposes of a report, I need to add the
letter C in front of these numbers. I do not want to update the
fields permanently, as there are other circumstances where I do not
want C to display. I tried "C"& ""&[CaseID], and variations thereof,
but none of them work. I know this must be simple, but I can't seem
to figure it out. Any help would be appreciated.
From: vanderghast on
It should be

= "C" & [CaseID]


***but*** be sure that the control NAME is not left to CaseID, because if
its name is left to CaseID, there will be an error (CaseID of the field
won't be the same as CaseID of the report control anymore). So, be sure to
rename the control on the report to something else than an existing field.


Vanderghast, Access MVP


"Twimm" <twinmms(a)yahoo.com> wrote in message
news:4b52f429-853a-4f33-9a7a-5c3bf49e2668(a)x21g2000yqa.googlegroups.com...
>I have a simple query that pulls data from a single table containing
> some basic client information. One field is a text field containing
> alpha-numeric data. For purposes of a report, I need to add the
> letter C in front of these numbers. I do not want to update the
> fields permanently, as there are other circumstances where I do not
> want C to display. I tried "C"& ""&[CaseID], and variations thereof,
> but none of them work. I know this must be simple, but I can't seem
> to figure it out. Any help would be appreciated.

From: Twimm on
On Jun 7, 10:46 am, "vanderghast" <vanderghast(a)com> wrote:
> It should be
>
> = "C" & [CaseID]
>
> ***but*** be sure that the control NAME is not left to CaseID, because if
> its name is left to CaseID, there will be an error (CaseID of the field
> won't be the same as CaseID of the report control anymore). So, be sure to
> rename the control on the report to something else than an existing field..
>
> Vanderghast, Access MVP
>
> "Twimm" <twin...(a)yahoo.com> wrote in message
>
> news:4b52f429-853a-4f33-9a7a-5c3bf49e2668(a)x21g2000yqa.googlegroups.com...
>
>
>
> >I have a simple query that pulls data from a single table containing
> > some basic client information.  One field is a text field containing
> > alpha-numeric data.  For purposes of a report, I need to add the
> > letter C in front of these numbers.  I do not want to update the
> > fields permanently, as there are other circumstances where I do not
> > want C to display.  I tried "C"& ""&[CaseID], and variations thereof,
> > but none of them work.  I know this must be simple, but I can't seem
> > to figure it out.  Any help would be appreciated.- Hide quoted text -
>
> - Show quoted text -
Ah...I see. Do it in the report instead of the query. So simple, yet
it didn't even occur to me. Thank you!
From: Marshall Barton on
Twimm wrote:

>I have a simple query that pulls data from a single table containing
>some basic client information. One field is a text field containing
>alpha-numeric data. For purposes of a report, I need to add the
>letter C in front of these numbers. I do not want to update the
>fields permanently, as there are other circumstances where I do not
>want C to display. I tried "C"& ""&[CaseID], and variations thereof,
>but none of them work. I know this must be simple, but I can't seem
>to figure it out.

If the report is the thing that needs the C in front, the I
think you should add it by using an expression in the report
text box:
="C" & [the text field]

--
Marsh
MVP [MS Access]