• Date and Text in a field on a report

    Author
    Topic
    #465728

    I’m using Office 2002 and I am trying to combine a date field with text on a report.

    I want the text field on the report to read something like this:

    On Saturday, January 2, 2010, we had a snowstorm.

    Code I was using is =”On “& [Date] &”, we had a snowstorm.”

    I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

    Any suggestions?

    Thanks.

    Paul

    Viewing 46 reply threads
    Author
    Replies
    • #1198625

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1199057

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1200219

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1201030

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1201932

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1202675

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1203558

      I’m using Office 2002 and I am trying to combine a date field with text on a report.

      I want the text field on the report to read something like this:

      On Saturday, January 2, 2010, we had a snowstorm.

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      I can combine the date field into the text field but I can not get the date to appear in Long Date format. It comes up 01/02/2010. I have tried changing format settings on both the date field and on the text field and in the table that the date comes from. No luck.

      Any suggestions?

      Thanks.

      Paul

    • #1198031

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1198646

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1199142

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1200240

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1201112

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1201953

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1202696

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1203592

      Code I was using is =”On “& [Date] &”, we had a snowstorm.”

      Change the control source for this textbox to:

      =”On “& Format([Date], “Long Date”) &”, we had a snowstorm.”

      Note that Date is a reserved word in Access and not the best choice of name for a date field. Also, how Long Date displays is entirely dependent on the settings for Long Date in Regional Settings in Control Panels. You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

    • #1198056

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1198665

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1199192

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1200259

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1201131

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1201972

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1202727

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1203612

      That works with one issue.

      Your code prints Jan instead of January.

      How can I change that?

    • #1198057

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1198668

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1199197

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1200262

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1201134

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1202020

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1202730

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1203615

      You could also specify exact formatting rather than Long Date, e.g. “mmm d, yyyy” which would give you January 2, 2010 or “dddd, mmm d yyyy” which will give you Saturday, January 2, 2010 as you indicate.

      See Peter’s edited reply.

    • #1198058

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1198669

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1199199

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1200263

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1201135

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1202021

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1202731

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1203616

      mmmm will give you the full name. mmm gives the three letter short form.

    • #1198067

      Thanks. That did it.

      Paul

    • #1198679

      Thanks. That did it.

      Paul

    • #1199216

      Thanks. That did it.

      Paul

    • #1200273

      Thanks. That did it.

      Paul

    • #1201146

      Thanks. That did it.

      Paul

    • #1202031

      Thanks. That did it.

      Paul

    • #1202741

      Thanks. That did it.

      Paul

    • #1203626

      Thanks. That did it.

      Paul

    Viewing 46 reply threads
    Reply To: Date and Text in a field on a report

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: