473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to split the Memo field

Roy
Hi All,

I have a table in A2K application.I get a memo field via download from
a .csv file.The contents are as below:

field name is TicketStatus,

For example,a single ticket,TicketID 12345 has a track history
contained in TicketStatus field.It starts right from problem opened
until problem closed with date/time.
Each entry is seperated by a tab delimiter (chr (9)),when it is
imported from the .csv file.

02/01/2007 14:23:35 EDT: Problem Closed.
01/04/2007 09:05:31 EDT: PD Report Published
01/03/2007 17:29:34 EDT: Problem updated.
01/03/2007 12:00:24 EDT: Problem updated.
01/03/2007 11:56:53 EDT: Problem updated.
01/03/2007 10:37:38 EDT: Problem opened.

My problem is how to split each entry so as to show it as

12345 02/01/2007 14:23:35 EDT: Problem Closed.
12345 01/04/2007 09:05:31 EDT: PD Report Published
12345 01/03/2007 17:29:34 EDT: Problem updated.
12345 01/03/2007 12:00:24 EDT: Problem updated.
12345 01/03/2007 11:56:53 EDT: Problem updated.
12345 01/03/2007 10:37:38 EDT: Problem opened.

Thanks in advance,
PG

Mar 2 '07 #1
3 2324
On Mar 1, 10:13 pm, "Roy" <praish1...@yahoo.comwrote:
Hi All,

I have a table in A2K application.I get a memo field via download from
a .csv file.The contents are as below:

field name is TicketStatus,

For example,a single ticket,TicketID 12345 has a track history
contained in TicketStatus field.It starts right from problem opened
until problem closed with date/time.
Each entry is seperated by a tab delimiter (chr (9)),when it is
imported from the .csv file.

02/01/2007 14:23:35 EDT: Problem Closed.
01/04/2007 09:05:31 EDT: PD Report Published
01/03/2007 17:29:34 EDT: Problem updated.
01/03/2007 12:00:24 EDT: Problem updated.
01/03/2007 11:56:53 EDT: Problem updated.
01/03/2007 10:37:38 EDT: Problem opened.

My problem is how to split each entry so as to show it as

12345 02/01/2007 14:23:35 EDT: Problem Closed.
12345 01/04/2007 09:05:31 EDT: PD Report Published
12345 01/03/2007 17:29:34 EDT: Problem updated.
12345 01/03/2007 12:00:24 EDT: Problem updated.
12345 01/03/2007 11:56:53 EDT: Problem updated.
12345 01/03/2007 10:37:38 EDT: Problem opened.

Thanks in advance,
PG

Maybe I'm having a bad day, but I'm confused. Is this all *one* field
in *one* record, or is each line a different record? Is 12345 a
separate field from the problem status?
Mar 2 '07 #2
Roy wrote:
Hi All,

I have a table in A2K application.I get a memo field via download from
a .csv file.The contents are as below:

field name is TicketStatus,

For example,a single ticket,TicketID 12345 has a track history
contained in TicketStatus field.It starts right from problem opened
until problem closed with date/time.
Each entry is seperated by a tab delimiter (chr (9)),when it is
imported from the .csv file.

02/01/2007 14:23:35 EDT: Problem Closed.
01/04/2007 09:05:31 EDT: PD Report Published
01/03/2007 17:29:34 EDT: Problem updated.
01/03/2007 12:00:24 EDT: Problem updated.
01/03/2007 11:56:53 EDT: Problem updated.
01/03/2007 10:37:38 EDT: Problem opened.

My problem is how to split each entry so as to show it as

12345 02/01/2007 14:23:35 EDT: Problem Closed.
12345 01/04/2007 09:05:31 EDT: PD Report Published
12345 01/03/2007 17:29:34 EDT: Problem updated.
12345 01/03/2007 12:00:24 EDT: Problem updated.
12345 01/03/2007 11:56:53 EDT: Problem updated.
12345 01/03/2007 10:37:38 EDT: Problem opened.

Thanks in advance,
PG
You can look at Open,Close, Input in help to read/import the data line
by line.

Is the CSV for one record only? If so, you could create a temp table.
Clear out all records and import from the file (see TransferText in
Help) then run an Update on the table and insert the key field then
update the memo field.

It's very possible we don't understand your problem. There's a few
details you left out.
Mar 2 '07 #3
On Mar 2, 8:57 am, salad <o...@vinegar.comwrote:
Roy wrote:
Hi All,
I have a table in A2K application.I get a memo field via download from
a .csv file.The contents are as below:
field name is TicketStatus,
For example,a single ticket,TicketID 12345 has a track history
contained in TicketStatus field.It starts right from problem opened
until problem closed with date/time.
Each entry is seperated by a tab delimiter (chr (9)),when it is
imported from the .csv file.
02/01/2007 14:23:35 EDT: Problem Closed.
01/04/2007 09:05:31 EDT: PD Report Published
01/03/2007 17:29:34 EDT: Problem updated.
01/03/2007 12:00:24 EDT: Problem updated.
01/03/2007 11:56:53 EDT: Problem updated.
01/03/2007 10:37:38 EDT: Problem opened.
My problem is how to split each entry so as to show it as
12345 02/01/2007 14:23:35 EDT: Problem Closed.
12345 01/04/2007 09:05:31 EDT: PD Report Published
12345 01/03/2007 17:29:34 EDT: Problem updated.
12345 01/03/2007 12:00:24 EDT: Problem updated.
12345 01/03/2007 11:56:53 EDT: Problem updated.
12345 01/03/2007 10:37:38 EDT: Problem opened.
Thanks in advance,
PG

You can look at Open,Close, Input in help to read/import the data line
by line.

Is the CSV for one record only? If so, you could create a temp table.
Clear out all records and import from the file (see TransferText in
Help) then run an Update on the table and insert the key field then
update the memo field.

It's very possible we don't understand your problem. There's a few
details you left out.

If this is from a CSV file and is all one field, unless there is
something wierd about it you should be able to create an import spec
to break this up into individual records in the table, or a different
one if need be. Not sure how you are asociating the TicketID now so I
don't know how you'd apply it if the import worked.

Mar 3 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Shyguy | last post by:
I want to create two buttons on a form. One would allow the user to Copy the contents of the current records memo field, the other would allow them to print. I set up a report based on the memo...
2
by: Jeremy | last post by:
I have a pretty straightforward database that is designed to record free-form information about products (date, source and a memo field). This is searched and updated via a form. For new records,...
3
by: GorDon | last post by:
Hi, I have a report based on a query. The query grabs a memo field from my main table, yet when I display the memo field in the report it truncates the memo field (the field needs to hold more...
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
1
by: Roy | last post by:
I have a table with two fields. I wish to separate all the data in one field and keep it listed against the information in the other field. The information within the field TicketStatus, I wish to...
4
by: kaplan.gillian | last post by:
Hi everyone, I currently have an Access database that includes quite a few long memo fields. When I create a report of my data, Access does not allow the memo fields to be split with the page...
2
by: Roger | last post by:
I've got two tables in sql2005 which have an 'ntext' field when I linked the first table in access97 last week using an odbc data source the access-field type was 'memo' when I link the 2nd...
10
by: ARC | last post by:
This is mainly a speed question. In this example: I have a QuotesHdr table that has a few memo fields. If these memo fields are used extensively by some users, and if their are a large number of...
2
by: AdrianJ1980 | last post by:
Hi, I apologise for not providing a code basis for my question, but i really am stuck. Does anyone know how i can split a memo field, such as below, into separate records. (The data comes from...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.