Solved

Live Query Result set in Delphi1.6

Posted on 1997-06-27
5
169 Views
Last Modified: 2010-04-04
I'm submitting a standard query with 'like' operator in the where clause.  I'm setting Request live to True, but the program is not sending a Live Result set back.

the select statement is

select area10."FILENAME", area10."SPC_NO" from area10 where area10."SPC_NO" LIKE '%232%'

where area10 is the table name and 232 is to be found in one record of the SPC_NO field.

If I substitute "where area10."SPC_NO" = '12321' this returns a live result set, but with the like operator it does not.  The Delphi documentation state like operators should return live sets, is the documentation incorrect or am I doing something wrong.

Cheers
0
Comment
Question by:cuchulain
  • 4
5 Comments
 

Author Comment

by:cuchulain
Comment Utility
Adjusted points to 200
0
 

Author Comment

by:cuchulain
Comment Utility
Adjusted points to 230
0
 

Author Comment

by:cuchulain
Comment Utility
please if anyone can help with this problem it would be help a lot...

0
 

Author Comment

by:cuchulain
Comment Utility
Adjusted points to 255
0
 

Accepted Solution

by:
hsk91071997 earned 250 total points
Comment Utility
In my code, Like operator returns a live sets.

Your Code :

  select area10."FILENAME", area10."SPC_NO" from area10 where area10."SPC_NO" LIKE '%232%'

Change your code like this
 select area."FILENAME" ,area."SPC_NO" from "area10.db" area
 where areae."SPC_NO" LIKE '%232%'

and , if you want change some field you want, insert Query's Edit method , of course you had done.

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now