|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
How to Display a "\" Backslash ???I wrote a little utility which a user can transfer a report they sent to
the HOLD directory (using the "HS" Assign Options), and I want to show them that it went to the C:\TEMP folder on their PC. But all attempts to display the "\" character in the DISP 3, ... statement have failed. Among the things I've tried are: * DISP 3,"Your Report is in the C:\TEMP folder"* * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* But every attempt results in the display replacing the backslash with a blank: * Your Report is in the C: TEMP folder* * * Any suggestions? UD6.0.3 running on AIX 4.3.3 SB 5.3.4 Keith Bauer Amerimax Building Products _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???Have you tried escaping the backslash? Backslash itself is often an escape
character. Try this: * DISP 3,"Your Report is in the C:\\TEMP folder"* Larry Hiscock Western Computer Services -----Original Message----- From: sbsolutions-bounces@... [mailto:sbsolutions-bounces@...] On Behalf Of Keith Bauer Sent: Wednesday, January 11, 2012 10:03 AM To: Avanté Special Interest Group - IT; SB Solutions Subject: [SBS] How to Display a "\" Backslash ??? I wrote a little utility which a user can transfer a report they sent to the HOLD directory (using the "HS" Assign Options), and I want to show them that it went to the C:\TEMP folder on their PC. But all attempts to display the "\" character in the DISP 3, ... statement have failed. Among the things I've tried are: * DISP 3,"Your Report is in the C:\TEMP folder"* * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* But every attempt results in the display replacing the backslash with a blank: * Your Report is in the C: TEMP folder* * * Any suggestions? UD6.0.3 running on AIX 4.3.3 SB 5.3.4 Keith Bauer Amerimax Building Products _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???You could use a DIALOG.DEFN with an expression that holds the string you want to display, then display it using
@VALUE = "C:\tempfolder" EXEC "DIALOG,dialogid" The "Text" in the definition could contain (@VALUE) -----Original Message----- From: sbsolutions-bounces@... [mailto:sbsolutions-bounces@...] On Behalf Of Keith Bauer Sent: Wednesday, January 11, 2012 1:03 PM To: Avanté Special Interest Group - IT; SB Solutions Subject: [SBS] How to Display a "\" Backslash ??? I wrote a little utility which a user can transfer a report they sent to the HOLD directory (using the "HS" Assign Options), and I want to show them that it went to the C:\TEMP folder on their PC. But all attempts to display the "\" character in the DISP 3, ... statement have failed. Among the things I've tried are: * DISP 3,"Your Report is in the C:\TEMP folder"* * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* But every attempt results in the display replacing the backslash with a blank: * Your Report is in the C: TEMP folder* * * Any suggestions? UD6.0.3 running on AIX 4.3.3 SB 5.3.4 Keith Bauer Amerimax Building Products _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions ________________________________ Dave Davis Team Lead, R&D P: 614-875-4910 x108 F: 614-875-4088 E: DDavis@... [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/> 6110 Enterprise Parkway Grove City, OH 43123 www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???Yes, I tried the double \\ but it didn't work either.
(should have included it --sorry) Thanks, however. Keith On Wed, Jan 11, 2012 at 12:16 PM, Larry Hiscock <larryh@...> wrote: > Have you tried escaping the backslash? Backslash itself is often an escape > character. Try this: > > * DISP 3,"Your Report is in the C:\\TEMP folder"* > > Larry Hiscock > Western Computer Services > > > -----Original Message----- > From: sbsolutions-bounces@... > [mailto:sbsolutions-bounces@...] On Behalf Of Keith Bauer > Sent: Wednesday, January 11, 2012 10:03 AM > To: Avanté Special Interest Group - IT; SB Solutions > Subject: [SBS] How to Display a "\" Backslash ??? > > I wrote a little utility which a user can transfer a report they sent to > the > HOLD directory (using the "HS" Assign Options), and I want to show them > that > it went to the C:\TEMP folder on their PC. > > But all attempts to display the "\" character in the DISP 3, ... > statement have failed. > Among the things I've tried are: > > * DISP 3,"Your Report is in the C:\TEMP folder"* > * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* > * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* > > But every attempt results in the display replacing the backslash with a > blank: > > * Your Report is in the C: TEMP folder* > * > * > Any suggestions? > > UD6.0.3 running on AIX 4.3.3 > SB 5.3.4 > > Keith Bauer > Amerimax Building Products > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???I haven't done one of those before, but it's worth a try. I just need to
figure out how include the report name in the display. Thanks, Dave, Ketih On Wed, Jan 11, 2012 at 12:18 PM, Dave Davis <DDavis@...>wrote: > You could use a DIALOG.DEFN with an expression that holds the string you > want to display, then display it using > > @VALUE = "C:\TEMP folder" > EXEC "DIALOG,dialogid" > > The "Text" in the definition could contain (@VALUE) > > -----Original Message----- > From: sbsolutions-bounces@... [mailto: > sbsolutions-bounces@...] On Behalf Of Keith Bauer > Sent: Wednesday, January 11, 2012 1:03 PM > To: Avanté Special Interest Group - IT; SB Solutions > Subject: [SBS] How to Display a "\" Backslash ??? > > I wrote a little utility which a user can transfer a report they sent to > the HOLD directory (using the "HS" Assign Options), and I want to show them > that it went to the C:\TEMP folder on their PC. > > But all attempts to display the "\" character in the DISP 3, ... > statement have failed. > Among the things I've tried are: > > * DISP 3,"Your Report is in the C:\TEMP folder"* > * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* > * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* > > But every attempt results in the display replacing the backslash with a > blank: > > * Your Report is in the C: TEMP folder* > * > * > Any suggestions? > > UD6.0.3 running on AIX 4.3.3 > SB 5.3.4 > > Keith Bauer > Amerimax Building Products > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > ________________________________ > > > Dave Davis > Team Lead, R&D > > P: 614-875-4910 x108 > F: 614-875-4088 > E: DDavis@... > [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] > > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]< > http://www.harriscomputer.com/> > 6110 Enterprise Parkway > Grove City, OH > 43123 > www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> > > This message is intended exclusively for the individual or entity to which > it is addressed. This communication may contain information that is > proprietary, privileged or confidential or otherwise legally exempt from > disclosure. If you are not the named addressee, you are not authorized to > read, print, retain, copy or disseminate this message or any part of it. If > you have received this message in error, please notify the sender > immediately by e-mail and delete all copies of the message. > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???Just put the text in @VALUE.
Have the "Text" field in the definition just consist of the following (@VALUE) Have one option: Option Text = "Continue" Return Action = "0" Use the defaults for everything else. It works for me. I've used it to do the same thing you want it for. -----Original Message----- From: sbsolutions-bounces@... [mailto:sbsolutions-bounces@...] On Behalf Of Keith Bauer Sent: Wednesday, January 11, 2012 1:23 PM To: SB Solutions Subject: Re: [SBS] How to Display a "\" Backslash ??? I haven't done one of those before, but it's worth a try. I just need to figure out how include the report name in the display. Thanks, Dave, Ketih On Wed, Jan 11, 2012 at 12:18 PM, Dave Davis <DDavis@...>wrote: > You could use a DIALOG.DEFN with an expression that holds the string you > want to display, then display it using > > @VALUE = "C:\TEMP folder" > EXEC "DIALOG,dialogid" > > The "Text" in the definition could contain (@VALUE) > > -----Original Message----- > From: sbsolutions-bounces@... [mailto: > sbsolutions-bounces@...] On Behalf Of Keith Bauer > Sent: Wednesday, January 11, 2012 1:03 PM > To: Avanté Special Interest Group - IT; SB Solutions > Subject: [SBS] How to Display a "\" Backslash ??? > > I wrote a little utility which a user can transfer a report they sent to > the HOLD directory (using the "HS" Assign Options), and I want to show them > that it went to the C:\TEMP folder on their PC. > > But all attempts to display the "\" character in the DISP 3, ... > statement have failed. > Among the things I've tried are: > > * DISP 3,"Your Report is in the C:\TEMP folder"* > * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* > * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* > > But every attempt results in the display replacing the backslash with a > blank: > > * Your Report is in the C: TEMP folder* > * > * > Any suggestions? > > UD6.0.3 running on AIX 4.3.3 > SB 5.3.4 > > Keith Bauer > Amerimax Building Products > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > ________________________________ > > > Dave Davis > Team Lead, R&D > > P: 614-875-4910 x108 > F: 614-875-4088 > E: DDavis@... > [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] > > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]< > http://www.harriscomputer.com/> > 6110 Enterprise Parkway > Grove City, OH > 43123 > www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> > > This message is intended exclusively for the individual or entity to which > it is addressed. This communication may contain information that is > proprietary, privileged or confidential or otherwise legally exempt from > disclosure. If you are not the named addressee, you are not authorized to > read, print, retain, copy or disseminate this message or any part of it. If > you have received this message in error, please notify the sender > immediately by e-mail and delete all copies of the message. > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions ________________________________ Dave Davis Team Lead, R&D P: 614-875-4910 x108 F: 614-875-4088 E: DDavis@... [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/> 6110 Enterprise Parkway Grove City, OH 43123 www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. _______________________________________________ SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???Sounds good, thank you.
Keith On Wed, Jan 11, 2012 at 12:29 PM, Dave Davis <DDavis@...>wrote: > Just put the text in @VALUE. > > Have the "Text" field in the definition just consist of the following > > (@VALUE) > > Have one option: > Option Text = "Continue" > Return Action = "0" > > Use the defaults for everything else. > > It works for me. I've used it to do the same thing you want it for. > > -----Original Message----- > From: sbsolutions-bounces@... [mailto: > sbsolutions-bounces@...] On Behalf Of Keith Bauer > Sent: Wednesday, January 11, 2012 1:23 PM > To: SB Solutions > Subject: Re: [SBS] How to Display a "\" Backslash ??? > > I haven't done one of those before, but it's worth a try. I just need to > figure out how include the report name in the display. > > Thanks, Dave, > Ketih > > On Wed, Jan 11, 2012 at 12:18 PM, Dave Davis <DDavis@... > >wrote: > > > You could use a DIALOG.DEFN with an expression that holds the string you > > want to display, then display it using > > > > @VALUE = "C:\TEMP folder" > > EXEC "DIALOG,dialogid" > > > > The "Text" in the definition could contain (@VALUE) > > > > -----Original Message----- > > From: sbsolutions-bounces@... [mailto: > > sbsolutions-bounces@...] On Behalf Of Keith Bauer > > Sent: Wednesday, January 11, 2012 1:03 PM > > To: Avanté Special Interest Group - IT; SB Solutions > > Subject: [SBS] How to Display a "\" Backslash ??? > > > > I wrote a little utility which a user can transfer a report they sent to > > the HOLD directory (using the "HS" Assign Options), and I want to show > them > > that it went to the C:\TEMP folder on their PC. > > > > But all attempts to display the "\" character in the DISP 3, ... > > statement have failed. > > Among the things I've tried are: > > > > * DISP 3,"Your Report is in the C:\TEMP folder"* > > * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* > > * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* > > > > But every attempt results in the display replacing the backslash with a > > blank: > > > > * Your Report is in the C: TEMP folder* > > * > > * > > Any suggestions? > > > > UD6.0.3 running on AIX 4.3.3 > > SB 5.3.4 > > > > Keith Bauer > > Amerimax Building Products > > _______________________________________________ > > SBSolutions mailing list > > SBSolutions@... > > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > > ________________________________ > > > > > > Dave Davis > > Team Lead, R&D > > > > P: 614-875-4910 x108 > > F: 614-875-4088 > > E: DDavis@... > > [ > http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] > > > > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]< > > http://www.harriscomputer.com/> > > 6110 Enterprise Parkway > > Grove City, OH > > 43123 > > www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> > > > > This message is intended exclusively for the individual or entity to > which > > it is addressed. This communication may contain information that is > > proprietary, privileged or confidential or otherwise legally exempt from > > disclosure. If you are not the named addressee, you are not authorized to > > read, print, retain, copy or disseminate this message or any part of it. > If > > you have received this message in error, please notify the sender > > immediately by e-mail and delete all copies of the message. > > > > _______________________________________________ > > SBSolutions mailing list > > SBSolutions@... > > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > ________________________________ > > > Dave Davis > Team Lead, R&D > > P: 614-875-4910 x108 > F: 614-875-4088 > E: DDavis@... > [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] > > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]< > http://www.harriscomputer.com/> > 6110 Enterprise Parkway > Grove City, OH > 43123 > www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> > > This message is intended exclusively for the individual or entity to which > it is addressed. This communication may contain information that is > proprietary, privileged or confidential or otherwise legally exempt from > disclosure. If you are not the named addressee, you are not authorized to > read, print, retain, copy or disseminate this message or any part of it. If > you have received this message in error, please notify the sender > immediately by e-mail and delete all copies of the message. > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
|
|
Re: How to Display a "\" Backslash ???*All this fuss for a little backslash character! Oh my!*
The (SB+Tools) DIALOG.DEFN solution works wonderfully: *Dialog Box Id RPT2PCTEMP* *Text* *(@VALUE)* * * *Option Text Return Action* *OK 0* Then, in the body of the paragraph, I assigned @VALUE to have "File <filename> went to C:\TEMP" As an added bonus, the users now see a nice "SB+ Dialog" box (in GUI) instead of the "SB+ Error" box which results from "DISP 3" statements! :-D Thanks to all who responded. Keith Bauer Amerimax Building Products On Wed, Jan 11, 2012 at 12:18 PM, Dave Davis <DDavis@...>wrote: > You could use a DIALOG.DEFN with an expression that holds the string you > want to display, then display it using > > @VALUE = "C:\tempfolder" > EXEC "DIALOG,dialogid" > > The "Text" in the definition could contain (@VALUE) > > -----Original Message----- > From: sbsolutions-bounces@... [mailto: > sbsolutions-bounces@...] On Behalf Of Keith Bauer > Sent: Wednesday, January 11, 2012 1:03 PM > To: Avanté Special Interest Group - IT; SB Solutions > Subject: [SBS] How to Display a "\" Backslash ??? > > I wrote a little utility which a user can transfer a report they sent to > the HOLD directory (using the "HS" Assign Options), and I want to show them > that it went to the C:\TEMP folder on their PC. > > But all attempts to display the "\" character in the DISP 3, ... > statement have failed. > Among the things I've tried are: > > * DISP 3,"Your Report is in the C:\TEMP folder"* > * DISP 3,"Your Report is in the C:":"\":"TEMP **folder**"* > * DISP 3,"Your Report is in the C:":CHAR(92):"TEMP **folder**"* > > But every attempt results in the display replacing the backslash with a > blank: > > * Your Report is in the C: TEMP folder* > * > * > Any suggestions? > > UD6.0.3 running on AIX 4.3.3 > SB 5.3.4 > > Keith Bauer > Amerimax Building Products > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > ________________________________ > > > Dave Davis > Team Lead, R&D > > P: 614-875-4910 x108 > F: 614-875-4088 > E: DDavis@... > [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] > > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]< > http://www.harriscomputer.com/> > 6110 Enterprise Parkway > Grove City, OH > 43123 > www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> > > This message is intended exclusively for the individual or entity to which > it is addressed. This communication may contain information that is > proprietary, privileged or confidential or otherwise legally exempt from > disclosure. If you are not the named addressee, you are not authorized to > read, print, retain, copy or disseminate this message or any part of it. If > you have received this message in error, please notify the sender > immediately by e-mail and delete all copies of the message. > > _______________________________________________ > SBSolutions mailing list > SBSolutions@... > http://listserver.u2ug.org/mailman/listinfo/sbsolutions > SBSolutions mailing list SBSolutions@... http://listserver.u2ug.org/mailman/listinfo/sbsolutions |
| Free embeddable forum powered by Nabble | Forum Help |