Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field width

Status
Not open for further replies.

MdVries

Programmer
Apr 16, 2003
47
NL
Hello everyone,

I want to have my adres field at an bigger width. (80 char)

This is my code.

SELECT *,;
IIF(LENC(caddress1) => 0, "contact", "persoon") AS src,;
IIF(LENC(caddress1) => 0, cacct_name, pacct_name) AS bedr_naam,;
IIF(LENC(caddress1) => 0, caddress1, paddress1) AS adres;
into CURSOR rol;

Can someone help me with this?
 
Take a look at the PADL,PADR etc.. in the help file
Code:
SELECT PADR(address,80) as addr1 FROM customer



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top