Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Multi-line Parameters
Fri, Oct 2 2009 11:03 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Can the parameter entry for scripts be enhanced to cope with multiple lines. Its a bit hairy reducing

SELECT _ID, _Name, _Status, _fkOrgType, FALSE AS _Zap, _Links,

(SELECT LIST(CAST(_ID AS VARCHAR))
FROM $DB$.Contacts X1
WHERE
_Links IS NOT NULL
AND
EXISTS(SELECT _ID FROM $DB$.Career  WHERE _fkcontacts = X1._ID AND _fkCompanies IN (SELECT _ID FROM $DB$.Companies WHERE _Status = 'Erase'))
) AS _ContactList,


(SELECT LIST(_Links,'')
FROM $DB$.Contacts X2
WHERE
_Links IS NOT NULL
AND
EXISTS(SELECT _ID FROM $DB$.Career  WHERE _fkcontacts = X2._ID AND _fkCompanies IN (SELECT _ID FROM $DB$.Companies WHERE _Status = 'Erase'))
) AS _ContactDocs

FROM $DB$.Companies WHERE _Status = 'Erase'


to a single line

Roy Lambert
Fri, Oct 2 2009 11:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Can the parameter entry for scripts be enhanced to cope with multiple
lines. Its a bit hairy reducing >>

I'll see what I can do, but space is somewhat limited.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Oct 3 2009 6:26 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>I'll see what I can do, but space is somewhat limited.

Change from TEdit to TMemo but leave as a single line high?

Roy Lambert
Sat, Oct 3 2009 11:24 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Change from TEdit to TMemo but leave as a single line high? >>

Yeah, but that's not going to do much good for the readability. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Oct 3 2009 12:00 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Yeah, but that's not going to do much good for the readability. Smiley

It's more getting it in than reading it that concerns me. I can type it up in notepad or whatever, but reducing it to a single line means I can't edit it and there's a chance I'll crop a character (even if its only a space)

Roy Lambert

Image