Solved

Updating Table(Filter) in D1?

Posted on 1998-02-10
1
194 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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