Perry Harold
pharold at cfl.rr.com
Fri May 21 14:28:57 CDT 2010
I use VB6 most of the time. As long as you know the position on the page and it doesn't change you can print an append to the line output with an underline line. Usually requires some experimentation to get the length correct. Using the printer object - not available with .net. printer.print "xxxxxxxxxxxxxx"; Printer.Print Tab(22); " ________________________________________________________________" Perry ----- Original Message ----- From: "John Clark" <John.Clark at niagaracounty.com> To: <accessd at databaseadvisors.com> Sent: Friday, May 21, 2010 1:59 PM Subject: Re: [AccessD] Underline word in paragraph > Never used it...didn't know about it. I just learned it real quick, and it > might be exactly what I need. It actually gives my program even more > flexibility, because they can now edit this entire section (paragraph) of > the report. There is a name that I was grabbing from a table...the name of > the treasurer...but they could always type that in as well, w/they setup > the paragraph. > >>>> "Gustav Brock" <Gustav at cactus.dk> 5/21/2010 11:26 AM >>> > Hi John > > Lost? For pre A2007 it's an ActiveX component for VB6. A built-in feature > of A2007+. > > /gustav > > >>>> John.Clark at niagaracounty.com 21-05-2010 17:12 >>> > ??? ...I'm lost. > >>>> "Gustav Brock" <Gustav at cactus.dk> 5/21/2010 9:29 AM >>> > Hi John > > Or use the rich text control - true RTF in A97-2003, HTML in A2007+ > > /gustav > > >>>> John.Clark at niagaracounty.com 21-05-2010 15:19 >>> > Nah...I wish. If I were going to do that, I would just put it in a > separate control and set the "Font Underline" property to True, and this > might allow for a little more flexibility...but no. > > I actually probably could do this, but although it probably won't change > for a while, I'd like the flexibility to do so. There is really only one > parameter that even stands a remote chance in changing, but I like to > program for flexibility w/ever I can. I guess, technically, the two words, > "six months" could always change too...the law could be altered to read > more or less I suppose. > > I think I can talk them into just dumping the underline...hope so. > >>>> "Kaup, Chester" <Chester_Kaup at kindermorgan.com> 5/20/2010 2:53 PM >>> > Well if is always in the same place you can cheat and draw a line. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Thursday, May 20, 2010 1:28 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Underline word in paragraph > > Hi all...still working on this report of mine. Of course I am being > interrupted by the phone ringing, w/users forgetting their password, not > getting to the website they want, can't run credit crds at the golf > course, an IP phone isn't working, another can't dial a certain > number...you get the idea...they want this thing done, in a hurry, but > there are 100 other users that want their problems fixed too. > > Anyhow...here is the problem of the moment...a real sticking point. As is > common now, since I was steered this way from this very list, I create my > documents inside of Access, whenever possible. This latest one, if you > haven't seen my past few posts, is a certificate of residency, for college > kids. I've got it looking pretty darn sharp too. But...I've got one little > hangup...there is a pair of words (i.e. "six months") that is underlined, > w/in the paragraph...on the original cert anyhow...in the middle of a > paragraph. Is there a way I can incorporate this into my code? Can you > underline something through code? I need this for two words, in the middle > of a paragraph...while retaining spacing. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >