Solved

Updating Table(Filter) in D1?

Posted on 1998-02-10
1
193 Views
Last Modified: 2010-04-04
I am new to Delphi programming and need some help in updating grid view.
When you double-click a record on the grid, a logical field in the table changes value. I have a checkbox on the form that when checked should show only those records that are selected(True), within the grid.
Because I am using Delphi 1 I have no choice but to use a temporary table for the grid view. What I need to know is how to update this table? Am I doing this right or wrong?
I have been trying to use Batchmove to update the table(emptying the table first), but I get table open error. How can I close the table? Active:=close does not seem to work. Thanks in advance.
0
Comment
Question by:fugazi
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 0 total points
ID: 1358888
Hi fugazi,

To close a table you can use :

 Table1.Close;

or

 Table1.Active := false;

What about a Query, for your filter?

Regards, Zif.


0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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