Toggle navigation
Toggle navigation
Home
Products
About us
Support
Contact
Try it free
order
Register
Log In
Forums
Products
Direct Oracle Access
AfterQuery and IsEmpty function
Search
Advanced Forum Search
Forums
Active Threads
Print Thread
AfterQuery and IsEmpty function
#3785
08/06/02
10:12 PM
Joined:
Oct 2001
Posts: 5
O
olbok
OP
Member
OP
olbok
Member
O
Joined:
Oct 2001
Posts: 5
Hello.
I wrote the following code in the AfterQuery event handler:
ShowMessage(IntToStr(Sender.RecordCount));
If Sender.IsEmpty then
ShowMessage('Empty');
After opening this dataset I saw two messages: "2" and "Empty". This dataset really include two records. But why did I see "Empty" message?
Thanks.
Copy Link to Clipboard
Re: AfterQuery and IsEmpty function
#3786
08/07/02
10:42 PM
Joined:
Aug 1999
Posts: 22,208
Marco Kalter
Member
Marco Kalter
Member
Joined:
Aug 1999
Posts: 22,208
These results are inconsistent of course, but the AfterQuery event fires as soon as the query is finished on the server. You cannot access the result set yet.
------------------
Marco Kalter
Allround Automations
Marco Kalter
Allround Automations
Copy Link to Clipboard
Moderated by
support
Hop To
Products ------
Plyxon
PL/SQL Developer
Direct Oracle Access
Query Reporter
Alpha / Beta releases ------
Plyxon Alpha / Beta
PL/SQL Developer 15.0 Beta
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Privacy Policy
·
Forum Rules
·
Mark All Read
Contact Us
·
Forum Help
·
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:
PHP:
7.1.33
Page Time:
0.032s
Queries:
14 (0.010s)
Memory:
2.4952 MB (Peak: 3.0393 MB)
Data Comp:
Off
Server Time:
2024-05-02 22:48:06 UTC
Valid HTML 5
and
Valid CSS