DC_AdsSQLQuery() suggestion

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

DC_AdsSQLQuery() suggestion

#1 Post by reganc »

Hi Roger,

Is it possible that you could make a small change to the DCBROWSE in DC_AdsSQLQuery() that shows the list of queries in the top-left of the screen.

At present the ITEMMARKED clause is as follows:

ITEMMARKED {||cDescription := ADSSQL->desc, ;
cStatement := ADSSQL->statement, ;
DC_GetRefresh(GetList,,DCGETREFRESH_TYPE_EXCLUDE,{GETLIST_BROWSE}) }

but I think cStatement should be trimmed:

ITEMMARKED {||cDescription := ADSSQL->desc, ;
cStatement := alltrim(ADSSQL->statement), ;
DC_GetRefresh(GetList,,DCGETREFRESH_TYPE_EXCLUDE,{GETLIST_BROWSE}) }

It makes editing the queries a whole lot easier in my opinion as the extra space seems to get in the way of positioning your cursor at the end of the text.

Is this possible? I can make the change myself, of course, but I cannot see why this change would cause any problems elsewhere.

Thanks.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DC_AdsSQLQuery() suggestion

#2 Post by rdonnay »

Regan -

That certainly was a simple change.
I made the change to _DCADS.PRG for the next build.

Roger
The eXpress train is coming - and it has more cars.

Post Reply