DC_AdsStatement not respecting Alias option

This forum is for eXpress++ general support.
Post Reply
Message
Author
ivanvazan
Posts: 21
Joined: Tue May 18, 2010 5:57 am

DC_AdsStatement not respecting Alias option

#1 Post by ivanvazan »

When a statement object is created and the method :Execute() is called with the option cAlias parameter - the result is ... "QUERY" for the alias. It is always "QUERY", no matter what. How do we change this?
The code in the _DCADS.PRG looks like this:

// feed cursor handle into dbusearea
DbUseArea( ,::Session, "<CURSOR>"+L2Bin(nCursor)+"</CURSOR>",cAlias)

IF (Used())
::Alias := Alias()
::Cursor := L2Bin(nCursor)
ENDIF

BUT the DbUseArea function does not assign the alias name correctly.

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

Re: DC_AdsStatement not respecting Alias option

#2 Post by rdonnay »

Unfortunately, this is a limitation of the ADSDBE.
The eXpress train is coming - and it has more cars.

Post Reply