473,399 Members | 3,401 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,399 software developers and data experts.

Extract values and paste it in fields

In an app I would like the user to be able to paste a Groupwise message into
several fields of a record. Since Groupwise doesn't offer good save-as or
export-options, the easiest way is that the user selects the whole message
in the Groupwise viewer and copies it to the clipboard. As an example, the
following text would be on the clipboard:

<<<
From: Cleef, R. van
To: Jack Mapel
Date: 14-09-06 12:17
Subject: RE: Betr.: Access question

Dear Jack, bla bla bla...
>>>
I would like to make a button in my form that:
1. reads the clipboard value
2. pastes "Cleef, R. van" in the field "From"
3. pastes "Jack Mapel" in the "To" field
4. etc. for Date, Subjecte, and Message.

What would be the best way to approach this? My knowledge of VB is limited.
thanks in advance,
john
Sep 14 '06 #1
1 1458
On Thu, 14 Sep 2006 15:45:46 +0200, "john" <jo**@test.comwrote:

Have the user paste the text in a "Groupwise Message" field. That
alleviates you from having to write code to get the text from the
clipboard.
Read up on the following functions: Split, Left, Mid, Right, InStr
and you should be able to write the VBA code needed.

-Tom.

>In an app I would like the user to be able to paste a Groupwise message into
several fields of a record. Since Groupwise doesn't offer good save-as or
export-options, the easiest way is that the user selects the whole message
in the Groupwise viewer and copies it to the clipboard. As an example, the
following text would be on the clipboard:

<<<
From: Cleef, R. van
To: Jack Mapel
Date: 14-09-06 12:17
Subject: RE: Betr.: Access question

Dear Jack, bla bla bla...
>>>>

I would like to make a button in my form that:
1. reads the clipboard value
2. pastes "Cleef, R. van" in the field "From"
3. pastes "Jack Mapel" in the "To" field
4. etc. for Date, Subjecte, and Message.

What would be the best way to approach this? My knowledge of VB is limited.
thanks in advance,
john
Sep 14 '06 #2

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

Similar topics

9
by: jason | last post by:
Access 2000 I need some help interogatting a table and extracting via ASP the final field in a row which has a value. In other words, I have a maximum of 10 fields but, at the user level he may...
1
by: Patrick Sullivan | last post by:
I am trying to extract two parts of a number from an array element. Numbers are in the format of 1.10, 2.50, 11.10, etc. Floor and ceiling won't work right because close to 1.00, I get a zero, and...
0
by: Henry | last post by:
My DataTabel has the following columns: org_id, org_name, parent_id DataTable dt = dsMyData.Tables; This next statement should create a data view with filter that results in one row ...
5
by: rs | last post by:
I have a table with a timestamp field which contains the date and time. ie. 9/13/2004 9:10:00 AM. I would like to split this field into 2 fields, one with just the DATE portion ie 9/13/2004 and...
8
by: Chris A via AccessMonster.com | last post by:
I have an interesting problem that I have yet to come accross that I can't change data structure on because it is an export from filemaker I am reformatting for another dept. anyway. I have a table...
16
by: Schultzy | last post by:
I have two tables: The first table is called: Products it has the following fields ProdName ProdId ProdType ProdTaxes
2
by: beary | last post by:
I have a page with a form which has automatically generated fields, (which come from mysql column names). There could be any number of these fields, and I have no way of knowing exactly what they're...
5
by: Mark Goldin | last post by:
How do I extact fields names (not values) from the Request object? Thanks
3
by: maylee21 | last post by:
hi, anyone can help me figure out how to read data from a text file like this: 10980012907200228082002 and extract the data according to this kind of format: Record type 1 TY-RECORD ...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.