Solved

Updating Table(Filter) in D1?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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

21 Experts available now in Live!

Get 1:1 Help Now