Perform a Locate on my table

Posted on 2005-04-11
Last Modified: 2010-04-05
I am trying to do a locate on my table

I need to locate by two fields (integer, string)

if frmData.tblOne.Locate('Parentd;Name',[frmData.tblParentss.Fields[0].asInteger,
                             edtName.Text],[])  then
Question by:IElite
    LVL 17

    Accepted Solution

    if frmData.tblOne.Locate('Parentd;Name',
      VarArrayOf([frmData.tblParentss.Fields[0].asInteger, edtName.Text]) ,[])  then

    Author Comment


    I already figured it out!

    But since I wasn't fast enough to get back to the EE, i'll give ya the points (they are unlimited for me anyways) - thanks!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    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…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    758 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

    11 Experts available now in Live!

    Get 1:1 Help Now