Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Updating Table(Filter) in D1?

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

604 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