Solved

Print

Posted on 2009-07-05
2
157 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

770 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