Solved

Print

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

743 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