?
Solved

About Locate method - Very Easy

Posted on 2003-11-04
4
Medium Priority
?
1,173 Views
Last Modified: 2009-07-29
Whats wrong with the following command?

Form2.DataSource1.DataSet.Locate('Name',Form5.Edit1.Text,[loCaseInsensitive, loPartialKey]);

???

I get errors when compiling the project. Should i put something in the 'uses' unit ?
I get undeclared identifier for 'partial key' and 'case insesitive' and another error for compining 'integer' with 'locate option'.
Thanks.
0
Comment
Question by:CodedK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
scrapdog earned 100 total points
ID: 9683350
Make sure the unit "DB" is in your uses clause.
0
 
LVL 16

Author Comment

by:CodedK
ID: 9683389
Thank you very much. This works.
I added db a few seconds after i asked the question. :)

Can you tell me please how to stop-remove a question. For the future....(not to ask silly questions)..
Thank you scrapdog.
0
 
LVL 16

Author Comment

by:CodedK
ID: 9683395
Of cource i will accept your answer but i am afraid that this will close the comment status ... (You want be able to answer) i think...
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 9690971
I'm not sure how the new E-E works...so your guess is as good as mine...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

801 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