TAdsDataSource:QueryArray problem
Publicado: Vie Abr 17, 2009 5:53 am
Hi,
I'm using ADS server. I have a form with an edit control and a button. If
the SQL command is ok, works great. If something is wrong than appear a message
from the SQL (that I don't want the user see it) and it stop working, I mean
nothing happen.
Any Idea?
METHOD Button1Click( oSender ) CLASS TForm1
LOCAL a, aHeaders := {}
a := oDSource:QueryArray(::oEdit1:cText, @aHeaders)
::oArrayBrowse1:SetArray(a, aHeaders)
RETURN Nil
I'm using ADS server. I have a form with an edit control and a button. If
the SQL command is ok, works great. If something is wrong than appear a message
from the SQL (that I don't want the user see it) and it stop working, I mean
nothing happen.
Any Idea?
METHOD Button1Click( oSender ) CLASS TForm1
LOCAL a, aHeaders := {}
a := oDSource:QueryArray(::oEdit1:cText, @aHeaders)
::oArrayBrowse1:SetArray(a, aHeaders)
RETURN Nil