Thanks so much :) I use vbCrLf all the time and didn't realize there was a vbTab corollary . Also thanks for the chr(9) suggestion. You guys are the best!
Kim http://who-knows.com * http://mitchki.com * http://sewingandvac.com -----Original Message----- From: John Vieth [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 2:19 PM To: [EMAIL PROTECTED] Subject: RE: [ASP] Inserting a tab character into a text file ...or, maybe better yet... strText = "Column #1" & vbTab & "Column #2" & vbTab & "Column #3" & vbCRLF strText = strText & "Line #1" & vbTab & "More text" & vbTab & "More text" & vbCRLF strText = strText & "Line #2" & vbTab & "More text" & vbTab & "More text" & vbCRLF vbTab and vbCRLF are built-in VBScript constants that are a little easier to remember than their ANSI equivalents. - John > -----Original Message----- > From: BobFilipiak [mailto:[EMAIL PROTECTED] > Sent: Monday, May 24, 2004 1:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [ASP] Inserting a tab character into a text file > > stringOut = "some string" & chr(9) > > > Bob Filipiak > A question not asked > is a lost opportunity to learn. > ----- Original Message ----- > From: "Kimberley Mitchell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, May 24, 2004 2:45 PM > Subject: [ASP] Inserting a tab character into a text file > > > > > > I am grabbing data from an Access data base and using asp > to create a > > text file. So far so good. > > > > Unfortunately, it needs to be a tab-delimited text file, so > I need a > > way to get my vbscript to put a tab in my output text file. Can > > somebody help me? > > > > The character tables I've seen contain many special characters, but > > I'm not seeing an ANSI equivalent for a TAB. > > > > Thanks for your help! > > Kim > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > ------- > > Home : http://groups.yahoo.com/group/active-server-pages > > > --------------------------------------------------------------------- > > Post : [EMAIL PROTECTED] > > Subscribe : [EMAIL PROTECTED] > > Unsubscribe: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > > Yahoo! Groups Links > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > Yahoo! Domains - Claim yours for only $14.70 > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM > -------------------------------------------------------------- > -------~-> > > -------------------------------------------------------------- > ------- > Home : http://groups.yahoo.com/group/active-server-pages > --------------------------------------------------------------------- > Post : [EMAIL PROTECTED] > Subscribe : [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > --------------------------------------------------------------------- > Yahoo! Groups Links > > > > > > > --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor ---------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM ---------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
