RE: [U2] Header Trick Needed

2005-01-12 Thread George Gallen
Does UD allow the use of \

ie.   EXECUTE \..\

George

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
Sent: Wednesday, January 12, 2005 11:17 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Header Trick Needed


If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute SORT SALES.ANALYSIS BY CUSTHEADING 
'Year-To-Date Sales ' :
This.Date.F  

Perhaps more than the two standard quote chararacters, ['] and [] are
available.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread Pingilley, Ron
Bill,

You can use the backslash (\) as a delimiter within BASIC:

execute \SORT SALES.ANALYSIS BY CUST  HEADING  'Year-To-Date Sales 
':This.Date.F   \

note the backslashes surround the entire command to be executed.

Or you could build the command in a variable, piece by piece, then 
EXECUTE TCL.CMD

--Ron P.
  
original e-mail
snip
  execute SORT SALES.ANALYSIS BY CUSTHEADING  'Year-To-Date Sales ' :
This.Date.F  

Perhaps more than the two standard quote chararacters, ['] and [] are
available.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread Les Hewkin
Have a look at DQUOTE and SQUOTE
They add quotes around vars

Les


-Original Message-
From: Brutzman, Bill [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 16:17
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Header Trick Needed


If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute SORT SALES.ANALYSIS BY CUSTHEADING  'Year-To-Date Sales ' :
This.Date.F  

Perhaps more than the two standard quote chararacters, ['] and [] are
available.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

This e-mail and any attachments are confidential and intended solely for the 
use of the addressee only. If you have received this message in error, you must 
not copy, distribute or disclose the contents; please notify the sender 
immediately and delete the message.
This message is attributed to the sender and may not necessarily reflect the 
view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements 
binding Travis Perkins may not be concluded by means of e-mail communication.
E-mail transmissions are not secure and Travis Perkins accepts no 
responsibility for changes made to this message after it was sent. Whilst steps 
have been taken to ensure that this message is virus free, Travis Perkins 
accepts no liability for infection and recommends that you scan this e-mail and 
any attachments.
Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, 
Harlestone Road, Northampton, NN5 7UG.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread David Jordan
Note you can also use the \ as well as ' and  to quote items like this.

Regards
David Jordan


If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute SORT SALES.ANALYSIS BY CUSTHEADING  'Year-To-Date Sales ' :
This.Date.F  

Perhaps more than the two standard quote chararacters, ['] and [] are
available.

Suggestions would be appreciated.

Regards
David Jordan
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/