Solved

code on Detail format in Access

Posted on 2014-01-22
4
350 Views
Last Modified: 2014-01-22
Hi Experts,
I have a question that I don't know if it's possible to do.  I have a report for users to print out but the report is kind like the memo, I have Text field on the form and I type everything on the text field on the Detail format, I do this is because I have to pull data from the query on this text field, my question is I need to to show ("CCC") but I only can do this as (CCC) without the "" but I need the "", is this possible to do in the detail format of the report?  below is the Text field data.

Text133 = "This notice is for Father " & Me.FANAME & " to make Child Cares payments the Child Care Center " & "(CCC)" & "."

The out come of this is
This notice is for Father John Smith to make Child Cares payments the Child Care Center (CCC).

But I need it to be like this
The notice is for father John Smith to make Child Cares payments the Child Care Center ("CCC").
0
Comment
Question by:urjudo
4 Comments
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 167 total points
ID: 39800179
Try:

Text133 = "This notice is for Father " & Me.FANAME & " to make Child Cares payments the Child Care Center (" & chr$(34) & "CCC" & chr$(34) & ")."

Jim.
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 167 total points
ID: 39800183
try this


Text133 = "This notice is for Father  " & Me.FANAME & "  to make Child Cares payments the Child Care Center " & "(" & """CCC""" & ")" & "."
0
 
LVL 21

Assisted Solution

by:Boyd (HiTechCoach) Trimmell, Microsoft Access MVP
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 166 total points
ID: 39800218
Or this :

Text133 = "This notice is for Father " & Me.FANAME & " to make Child Cares payments the Child Care Center  (""CCC"")."
0
 

Author Closing Comment

by:urjudo
ID: 39800231
Thanks so much experts!!! I wish I can give each one of you 500 points.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now