[U2] Print Wizard 4 beta testers wanted (fwd)

2010-07-16 Thread Bob Rasmussen
Hello!

Because many of you are active users, or at least testers, of Print 
Wizard, I'd like to invite you to participate in the beta testing process 
for version 4. We have set up a Google group as the primary means of 
communication for this. If you respond to me personally, I will add you to 
the group. At that point you can learn more about what's new and improved, 
and how the beta process works. There's no commitment, you can withdraw at 
any time.

Note: this does *not* involve the Print Wizard feature set of AnzioWin, 
our terminal emulator. Watch for an announcement later.

PW4 adds some significant new "building blocks" to Print Wizard. For 
instance, we have a *reader* for PDF files, where previously we could only 
create them. This makes it easier to use a PDF as an overlay, for 
instance. 

We have also greatly enhanced many of the building blocks. For instance, 
the Print Preview window can now view multiple pages, and it lets you 
adjust the placement of an overlay as well as the text on that overlay.

Components can be combined in new ways. For instance, you can preview a 
job on its way to PDF output, and even sign a purchase order on the last 
page.

Finally, we have focused many improvements on the need to eliminate 
multi-part, pre-printed forms. We have placement adjustment, multiple 
copies (collated or not), and bin sequencing.

By participating in the beta process, you get the chance to try these new 
features early, and contribute suggestions to the final form and function. 
So come on board!

Regards, 
Bob Rasmussen,   
President, Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
 company e-mail: r...@anzio.com
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Locate Syntax Error Missed by Compiler

2010-07-16 Thread Tony Gravagno
> LOCATE STRING IN ARRAY<1> "DR" SETTING POS ELSE POS = 1
> 
> This compiled and executed but ... the BY was missing.
> LOCATE STRING IN ARRAY<1,1> BY "DR" SETTING POS ELSE POS = 1
> 
> It took us a while to look there since the compiler accepted 
> it.  When we found it we discussed that we really expected 
> the syntax error to be identified by the compiler.

The DR is being applied as a mask to ARRAY<1>.  The problem isn't
with Locate, but with an invalid mask being accepted, perhaps an
invalid variant of a date mask.  As I recall, R83 was fickle in
whether or not it forgave errors if the first character of a mask
was valid but the remainder was not.  I don't know how the
engineers for UV or UD decided which errors to forgive, and which
ones would trigger a runtime error.  You might actually have a
runtime error sitting in a log somewhere, telling you there was
an invalid mask.

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET worldwide
and provides related development services
remove.pleaseNebula-RnD.com/blog
(Latest blogs on Web Services for MV)
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] save " break-on" query result as data file records

2010-07-16 Thread Danila

Boydell, Stuart  spotless.com.au> writes:

> 
> If you're familiar with SQL you can use SQL.
> 
> INSERT INTO NEWFILE
> SELECT COL1,COL2,SUM(COL3) FROM OLDFILE GROUP BY COL1,COL2;
> Etc
> 
> See the SQL User Guide for UV specific extensions and syntax
> 
> Otherwise, if you want to use Revise, you can use the REFORMAT verb.
> 
> HTH,
> Stuart

Thanks Stuart,
I think I have no choice as to use BASIC,
because Insert SQL statement does not allow field modifiers 
 in a subquery, and REFORMAT syntax does not 
allow break-on values, but original records instead.




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Locate Syntax Error Missed by Compiler

2010-07-16 Thread Colin Alfke
Yes. The "BY" is optional and "DR" should work as a format mask (in UD it
gives a date using "R" as a delimiter instead of a space, "-", or "/".
Although I can't imagine what would cause someone to do a locate on a format
masked string

Hth
Colin Alfke
Calgary, Canada

-Original Message-
Ron Hutchings

We are running 10.0.11, PICK flavor.

LOCATE STRING IN ARRAY<1> "DR" SETTING POS ELSE POS = 1

This compiled and executed but gave results we were not expecting.  After
some analysis and two sets of eyes, the aha moment that the BY was missing.
LOCATE STRING IN ARRAY<1,1> BY "DR" SETTING POS ELSE POS = 1

It took us a while to look there since the compiler accepted it.  When we
found it we discussed that we really expected the syntax error to be
identified by the compiler.  Are we expecting too much from the compiler?

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RetrieVe enhancements

2010-07-16 Thread Symeon Breen
This got me thinking - pardon the question, I have not used retrieve for
such things for many years , but do people still use retrieve for print or
screen reporting ?



Symeon.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: 16 July 2010 16:28
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] RetrieVe enhancements

With full agreement that C justification would be helpful if
built-in, this function is easily accomplished with a correlative
or even a call to a common subroutine.

T

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Locate Syntax Error Missed by Compiler

2010-07-16 Thread Martin Phillips

Hi Ron,

A quick VLIST of the generated code shows that the compiler has taken the 
"DR" as a format string and applied it to the content of ARRAY<1> and then 
performed the LOCATE against that data.


Although not what you intended, this is actually consistent with the way in 
which SMA format expressions work. Personally, I hate them because of this 
sort of syntactically valid but semantically wrong error.



Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200

- Original Message - 
From: "Ron Hutchings" 

To: 
Sent: Friday, July 16, 2010 8:28 PM
Subject: [U2] Locate Syntax Error Missed by Compiler




We are running 10.0.11, PICK flavor.

LOCATE STRING IN ARRAY<1> "DR" SETTING POS ELSE POS = 1

This compiled and executed but gave results we were not expecting.  After 
some analysis and two sets of eyes, the aha moment that the BY was 
missing. LOCATE STRING IN ARRAY<1,1> BY "DR" SETTING POS ELSE POS = 1


It took us a while to look there since the compiler accepted it.  When we 
found it we discussed that we really expected the syntax error to be 
identified by the compiler.  Are we expecting too much from the compiler?


_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users 


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Locate Syntax Error Missed by Compiler

2010-07-16 Thread Ron Hutchings

We are running 10.0.11, PICK flavor.

LOCATE STRING IN ARRAY<1> "DR" SETTING POS ELSE POS = 1

This compiled and executed but gave results we were not expecting.  After some 
analysis and two sets of eyes, the aha moment that the BY was missing. LOCATE 
STRING IN ARRAY<1,1> BY "DR" SETTING POS ELSE POS = 1

It took us a while to look there since the compiler accepted it.  When we found 
it we discussed that we really expected the syntax error to be identified by 
the compiler.  Are we expecting too much from the compiler?
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RetrieVe enhancements

2010-07-16 Thread Tony Gravagno
With full agreement that C justification would be helpful if
built-in, this function is easily accomplished with a correlative
or even a call to a common subroutine.

T

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Sockets changes from Windows 2003 to Windows 2008?

2010-07-16 Thread Adam Eccleshall
Hi,

I'm not sure if this is strictly a U2 question, but since it relates to
a U2 application, I'll post here just in case...

Has anyone got any experience of the differences between sockets on
Windows 2003 and Windows 2003?  We have a Windows service that listens
on a port for a connection from a UniData program.  It works fine under
Win2k / Win2003, but not on Windows 2008.

Initially, the output log for the service showed the following error
when the conenction was attempted

"System.Net.Sockets.SocketException: An address incompatible with the
requested protocol was used"

A check on Google showed that this was likely down to the fact that
Win2008 uses IPv6 as default, and so I needed to change the service to
accept the correct address family, so the service code changed from:


***
byte[] bytes = new Byte[1024];

// Establish the local endpoint for the socket.
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, listenPort);

// Create a TCP/IP socket.
Socket listener = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);

// Bind the socket to the local endpoint and listen for incoming
connections.
try
{
listener.Bind(localEndPoint);
listener.Listen(100);
***


To:

***
byte[] bytes = new Byte[1024];

// Establish the local endpoint for the socket.
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, listenPort);

// Create a TCP/IP socket.
Socket listener = new Socket(ipAddress.AddressFamily, SocketType.Stream,
ProtocolType.Tcp);

// Bind the socket to the local endpoint and listen for incoming
connections.
try
{
listener.Bind(localEndPoint);
listener.Listen(100);
***

(the only change being the first parameter in the Socket constructor)

I now no longer get the exception, but when UniData tries to communicate
with the service via writeSocket(), it returns with error code 14 ("The
socket has been shut down").

Oddly, the connection attempt doesn't even show in the event log for the
Windows service, although trying to connect via telnet will allow me to
send one character before shutting down, and that does show in the log.

Does anyone know what I might be missing to cause this to fail?



Thanks in advance,

Adam

This electronic message contains information from CACI International Inc or
subsidiary companies, which may be confidential, proprietary,
privileged or otherwise protected from disclosure.  The information is
intended to be used solely by the recipient(s) named above.  If you are not
an intended recipient, be aware that any review, disclosure, copying,
distribution or use of this transmission or its contents is prohibited.  If
you have received this transmission in error, please notify us immediately
at postmas...@caci.co.uk
Viruses: Although we have taken steps to ensure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.

CACI Limited. Registered in England & Wales. Registration No. 1649776. CACI 
House, Avonmore Road, London, W14 8TS.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RetrieVe enhancements

2010-07-16 Thread Martin Phillips

Hi Kate,

Not strictly U2 but relevant to consideration of this proposal.

When we did right alignment of column headings in right aligned fields in 
QM, users moaned that they didn't like it. This is almost certainly just a 
matter of personal preference. We resolved this by adding a new embedded 'R' 
control code that could be added to the heading text just like 'L' for 
newline in multi-line headings. Perhaps this might be a more acceptable 
solution for RetrieVe.


I have always been surprised that UV does not support the C justification 
code. It's about time.



Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200

- Original Message - 
From: "Kate Stanton" 

To: "U2 Users List" 
Sent: Friday, July 16, 2010 7:31 AM
Subject: [U2] RetrieVe enhancements



There are 2 changes I should like to see in RetrieVe:

1.add C (centre) as a justification code, as well as L, R and T
   We use C in our dictionary-driven data entries, forms, and integrated 
queries.

   It is annoying that it is not available in RetrieVe reports

2.Align column heading using the data's justification code
   Column headings are always left-justified, looks odd over wide 
right-justified data column.


Before I ask Rocket for these, it would be good to know if anyone else 
would want them.


???

Kate Stanton
Walstan Systems Ltd
4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand
Ph: +64 9 360 5310  Fax: +64 9 376 0750  Mobile: +64 21 400 486
Email: k...@walstan.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users 


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users