Solved

Print

Posted on 2009-07-05
2
159 Views
Last Modified: 2013-11-25
How to make a code wherein I want to put a limit of letters that would come out upon  printing?
My code is...  Print #1, Trim(!pname)
example on my !pname is.. Amoxicillin 500mg cap (amixil brand)
In printing, I want only Amoxillin 500mg or I want only 15 char that will come out on priting
Thanks!
0
Comment
Question by:Whing Dela Cruz
2 Comments
 
LVL 5

Accepted Solution

by:
rizwanidrees earned 250 total points
ID: 24779115
Print #1, Left(Trim(!pname),15)
0
 

Author Closing Comment

by:Whing Dela Cruz
ID: 31599881
Thank you so much! More Power to you!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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