Article View: borland.public.cppbuilder.database.multi-tier
Article #1398Help!Help!Help me!!!!!
From: zn
Date: Sat, 13 Nov 1999 00:00
Date: Sat, 13 Nov 1999 00:00
27 lines
1428 bytes
1428 bytes
Hello:
I need you help!
When i write a multi-tier program using midas,i call a server's function
from the client,the server's function is :
m_DataModule->Query1->SQL->Text = "select * from XXX where aaa < 41";
m_DataModule->a_SQL = m_DataModule->Query1->SQL->Text;
ShowMessage(m_DataModule->Query1->SQL->Text);
the last sentence is to see if the Query1'Sql been set,when it run i can see
that the Query1's SQL is right.
but i add that :
ShowMessage(m_DataModule->Query1->SQL->Text);
in the event of BeforeOpen of the Query1,it show that the Query1's SQL is
NULL.
I can get the right other info ,e.g. the num of the Query1's recorder .
i don't know WHY???
The Client component is OLEnterpriseConnection,ClientDataSet,DataSourse.
The Server component is Provider,Database,Query,Session.
How can i do?
I'm eager to getting your help!!
a Chinese man
Z.N.
Technical Details
Message-ID:
<80jqr3$iiq1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,b559c3eaeefdd61e,start X-Google-Attributes: gidfcd2b,public From: "zn" <zn@public.jninfo.net.cn> Subject: Help!Help!Help me!!!!! Date: 1999/11/13 Message-ID: <80jqr3$iiq1@forums.borland.com> X-Deja-AN: 548121925 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.cppbuilder.database.multi-tier