Solved

Live Query Result set in Delphi1.6

Posted on 1997-06-27
5
171 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
ID: 1337914
Adjusted points to 200
0
 

Author Comment

by:cuchulain
ID: 1337915
Adjusted points to 230
0
 

Author Comment

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

0
 

Author Comment

by:cuchulain
ID: 1337917
Adjusted points to 255
0
 

Accepted Solution

by:
hsk91071997 earned 250 total points
ID: 1337918
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 100
How to convert wav to mp3 in delphi 9 198
Delphi Form ownership 4 87
firemonkey Android Listview Sort items 7 5
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

785 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