Re: "Square boxes"
- From: "Ken Snell [MVP]" <kthsneisllis9@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 5 Aug 2005 17:47:43 -0400
Do these values appear in separate fields in each record in your incoming
data stream?
Name
Address
City, State, Zip
DOB, SSN
If yes, then you can use a query to concatenate the fields into a single
string and output the result (example shown here is for three fields, with a
blank space separting the value from each field):
SELECT [Field1] & " " & [Field2] & " " [Field3] AS OutputField
FROM TableName;
--
Ken Snell
<MS ACCESS MVP>
"Blaze" <Blaze@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6F0C495D-4EA1-4494-AC10-298F0982F5A6@xxxxxxxxxxxxxxxx
> Here's what I am doing source to destination:
>
>
> 1. Infopath used to fill out repeating tables, with merge setup.
> 1b. Repeating Table has 8 fields as described previously.
> 2. Infopath submit used to post the data to sharepoint services with
> merge
> on the repeating tables.
> 3. I use Access to look at the sharepoint site. The data comes in with
> the
> boxes already there. I think it has something to do with the merge field.
> 4. I use the query to plug the report into something usable as infopath
> is
> near worthless except to enter data with integrity.
>
> Now, I have use the build command to do the following: as Fredg provided:
>
> Replace([FieldName],chr(13),chr(13) & chr(10))
>
> This works to do what I needed. Now is there a way to combine:
>
> Name
> Address
> City, State, Zip
> DOB, SSN
>
> One entry per incoming data stream? If not, I can just put two text boxes
> with the data source laid out and it would work, just wouldn't be as
> "neat"
>
> Thanks for your input on this issue, you've been a real help!
>
> Blaze
>
>
> "Ken Snell [MVP]" wrote:
>
>> This query does not show any concatenation being done in the query, so I
>> must assume that the ComplaintNarrativeOtherNames
>> field in the Complaint and Witness Forms table/query contains the
>> concatenated names?
>>
>> Need to know where the concatenation of the Chr(13) (carriage return)
>> character is being done, or if the Chr(13) character is already in the
>> data
>> before the query selects the records.
>>
>> --
>>
>> Ken Snell
>> <MS ACCESS MVP>
>>
>> "Blaze" <Blaze@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:F1DF2771-84B8-4A3C-99CA-C078129728EE@xxxxxxxxxxxxxxxx
>> > Nevermind, found it... This is a simplified version of what I am
>> > doing.
>> >
>> > Select [Complaint and Witness Forms].ID, [Complaint and Witness
>> > Forms.ComplaintNarrativeOtherNames
>> > From [Complaint and Witness Forms]
>> > Where ((([Complaint and Witness Forms].ID)=[ID])));
>> >
>> >
>> > "Ken Snell [MVP]" wrote:
>> >
>> >> Post the query's SQL statement. It appears that you are using only
>> >> half
>> >> of
>> >> what you need to start a new line. In ACCESS, you use the combination
>> >> of
>> >> Chr(13) & Chr(10) for a new line (carriage return and line feed,
>> >> respectively).
>> >> --
>> >>
>> >> Ken Snell
>> >> <MS ACCESS MVP>
>> >>
>> >>
>> >>
>> >> "Blaze" <Blaze@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:972FDD8D-8A0F-4A54-B5D5-B645AED03288@xxxxxxxxxxxxxxxx
>> >> >I have a query that seperates the fields by "square boxes". I am
>> >> >pretty
>> >> >sure
>> >> > that these are from an unknown character, but how can I find out
>> >> > what
>> >> > it
>> >> > is?
>> >> > Here is an example of what I want:
>> >> >
>> >> > Michael S Parrill
>> >> > Jessica L Davis
>> >> > Cody A Phipps
>> >> > David W Henderson Jr
>> >> >
>> >> > When I copied and pasted it from my query it shows up correctly, as
>> >> > you
>> >> > can
>> >> > see above, the query looks something like this:
>> >> > Michael S Parrill[]Jessica L Davis[]Cody A Phipps[]David W Henderson
>> >> > Jr
>> >> > The [] is the "square box symbol". When I copy that symbol into
>> >> > here,
>> >> > it
>> >> > is
>> >> > treated as a carriage return.
>> >> >
>> >> > Help, as I'm going nuts on this!
>> >> > Blaze
>> >> >
>> >>
>> >>
>> >>
>>
>>
>>
.
- Follow-Ups:
- Re: "Square boxes"
- From: Blaze
- Re: "Square boxes"
- References:
- "Square boxes"
- From: Blaze
- Re: "Square boxes"
- From: Ken Snell [MVP]
- Re: "Square boxes"
- From: Blaze
- Re: "Square boxes"
- From: Ken Snell [MVP]
- Re: "Square boxes"
- From: Blaze
- "Square boxes"
- Prev by Date: RE: how to sort columns in cross tab query
- Next by Date: Re: "Square boxes"
- Previous by thread: Re: "Square boxes"
- Next by thread: Re: "Square boxes"
- Index(es):
Relevant Pages
|