Solved

Extract Portions of text box Information and insert into another textbox

Posted on 2013-05-10
4
403 Views
Last Modified: 2013-05-10
I need to assign the value of a text box "txtheading" from information from another field named "Remarks" the value needs all text up to the first semicolon example:

Dim header as string
header= remarks.first line up to semicolon
txtheading=header

Open in new window



Or
txtheading.value= header= remarks.first line up to semicolon

whichever works better...

The information should appear exactly as it appears up to the semicolon including spaces and case
0
Comment
Question by:mickeyshelley1
  • 2
  • 2
4 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39155428
Dim header as string
header= Split("" & Remarks, ";")(0)
txtheading=header

Open in new window

0
 

Author Comment

by:mickeyshelley1
ID: 39155433
Trying it
0
 

Author Closing Comment

by:mickeyshelley1
ID: 39155454
Thanks AGAIN : mbizup that works great!!! and thanks for responding so quickly
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39155497
Glad to help :)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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 …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now