l***@hotmail.com
2008-03-31 15:17:44 UTC
Hi!
I am trying to accomplish something in a query on the AS400. I have
two fields:
LNAME which is the last name
FNAME which is the first name
how do i create these two as one
is LNAME is SMITH and FNAME is BOB
I would like to create it as SMITH, BOB
I used the || in define views and entered the following:
LNAME || '," || FNAME
but I get SMITH ,BOB
It is taking into consideration all of the spaces for the field
size... how do I over come this.
Any help would be greatly appreciated.
I am trying to accomplish something in a query on the AS400. I have
two fields:
LNAME which is the last name
FNAME which is the first name
how do i create these two as one
is LNAME is SMITH and FNAME is BOB
I would like to create it as SMITH, BOB
I used the || in define views and entered the following:
LNAME || '," || FNAME
but I get SMITH ,BOB
It is taking into consideration all of the spaces for the field
size... how do I over come this.
Any help would be greatly appreciated.