?
Solved

Updating Table(Filter) in D1?

Posted on 1998-02-10
1
Medium Priority
?
199 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
[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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

762 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