Solved

Print

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

920 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

16 Experts available now in Live!

Get 1:1 Help Now