Solved

code on Detail format in Access

Posted on 2014-01-22
4
356 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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2016 5 53
word 2016 1 30
Auto Center Controls on a Form Based on Screen Size/Resolution in MS Access 10 35
Calculation in Access 5 25
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

786 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