Editing Ascii Tables Question? 
Author Message
 Editing Ascii Tables Question?

For a small project I am working on with only a few tables, using ascii
tables is adaquate.

I can insert records into ascii tables but I can't edit records in a
ascii table, even though I don't get an error message when trying to put
the table into edit mode.

Does anyone know if it is possible to edit records in an ascii table and
if so what properties I need to set on a table component to do this.

--
Nice One! Sorted!

Sent via Deja.com http://www.***.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?



Quote:
>For a small project I am working on with only a few tables, using ascii
>tables is adaquate.

>I can insert records into ascii tables but I can't edit records in a
>ascii table, even though I don't get an error message when trying to put
>the table into edit mode.

>Does anyone know if it is possible to edit records in an ascii table and
>if so what properties I need to set on a table component to do this.

Not sure what might be going wrong in your case. It works for me.

Double-check the values in the ReadOnly and CanModify properties of that
TTable.

How were you accessing the text files? Using the BDE native text table
driver? Using an ODBC driver? What component?

What version of Delphi are you using? Version of the BDE?

How were you changing the field values? Through a data-aware control like
TDBGrid? Or programmatically, using methods like Edit and Post?

(Follow-ups to the newsgroup only, please.)

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Steve Koterski              "Health nuts are going to feel stupid someday,
Felton, CA                  lying in hospitals dying of nothing."
                                                              -- Redd Foxx



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?
I am using a standard TTable component going through the BDE

Using Delphi 4 professional, and BDE 5.01.

I have tried to edit a table through data-aware controls and also using
edit and post.

Quote:

> Not sure what might be going wrong in your case. It works for me.

> Double-check the values in the ReadOnly and CanModify properties of
>that
> TTable.

> How were you accessing the text files? Using the BDE native text table
> driver? Using an ODBC driver? What component?

> What version of Delphi are you using? Version of the BDE?

> How were you changing the field values? Through a data-aware control
like
> TDBGrid? Or programmatically, using methods like Edit and Post?

> (Follow-ups to the newsgroup only, please.)

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/

Quote:
> Steve Koterski              "Health nuts are going to feel stupid
someday,
> Felton, CA                  lying in hospitals dying of nothing."
>                                                               -- Redd
Foxx

--
Nice One! Sorted!

Sent via Deja.com http://www.deja.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?
This is a response I got somewhere else but I'm don't know id it is
correct:

According to "Delphi Developers' Guide" editing is not supported with
VARYING
 schema tables. Nor is inserting or deleting records, only appending.
Text tables
 are always opened with exclusive access, and so tables should be opened
in
 code, not as a design time setting.

 Maybe one of the non-BDE databases, or a record based data store would
be
 better.


Quote:

> On Thu, 17 Feb 2000 14:35:30 GMT, Trevor Ticktock


Quote:

> >For a small project I am working on with only a few tables, using
ascii
> >tables is adaquate.

> >I can insert records into ascii tables but I can't edit records in a
> >ascii table, even though I don't get an error message when trying to
put
> >the table into edit mode.

> >Does anyone know if it is possible to edit records in an ascii table
and
> >if so what properties I need to set on a table component to do this.

> Not sure what might be going wrong in your case. It works for me.

> Double-check the values in the ReadOnly and CanModify properties of
that
> TTable.

> How were you accessing the text files? Using the BDE native text table
> driver? Using an ODBC driver? What component?

> What version of Delphi are you using? Version of the BDE?

> How were you changing the field values? Through a data-aware control
like
> TDBGrid? Or programmatically, using methods like Edit and Post?

> (Follow-ups to the newsgroup only, please.)

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/

Quote:
> Steve Koterski              "Health nuts are going to feel stupid
someday,
> Felton, CA                  lying in hospitals dying of nothing."
>                                                               -- Redd
Foxx

--
Nice One! Sorted!

Sent via Deja.com http://www.deja.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?

Quote:

> >Maybe one of the non-BDE databases, or a record based data store would
> >be better.
> Hmm. I was not aware of that peculiarity. Fixed-length field text tables
> (SDF) are editable, but not comma-separated (CSV or varying). I will need
> to speak with someone in BDE development to get a little insight on this.
> Yes a true table or an SDF type text table would work for your situation.

I've been following this thread. I'm not sure if this is any use, but
there is a Dutch guy who has a csvdatabase and csvfieldedit components
on his site - f/ware with source.

If this interests you, email me at plinehan at transaer dot ie and
I'll send the URL.

Paul...

Quote:
> Steve Koterski              "Health nuts are going to feel stupid someday,

Paul Linehan

plinehan at yahoo dot com/linehanp at tcd dot ie

I drink to keep body and
soul apart - O. Wilde.

"Mens sana in campari soda" - anon.



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?

[...]

Quote:
>I've been following this thread. I'm not sure if this is any use, but
>there is a Dutch guy who has a csvdatabase and csvfieldedit components
>on his site - f/ware with source.

>If this interests you, email me at plinehan at transaer dot ie and
>I'll send the URL.

It might be of interest to the original poster, but I have no use for the
components (thank you anyways for the offer).

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Steve Koterski              "Nothing is impossible for the man who doesn't
Felton, CA                  have to do it himself."
                                                           -- A. H. Weiler



Wed, 18 Jun 1902 08:00:00 GMT
 Editing Ascii Tables Question?

Quote:

> >I've been following this thread. I'm not sure if this is any use, but
> >there is a Dutch guy who has a csvdatabase and csvfieldedit components
> >on his site - f/ware with source.
> >If this interests you, email me at plinehan at transaer dot ie and
> >I'll send the URL.
> It might be of interest to the original poster, but I have no use for the
> components (thank you anyways for the offer).

I know that someone of your Delphi ability could probably throw them
together over breakfast,     8-)     but IIRC, I "piggybacked" on your
post in what should have been a reply to the original poster, but his
post was no longer on my server, I did the next best thing.

Paul...

Quote:
> Steve Koterski              "Nothing is impossible for the man who doesn't

Paul Linehan

plinehan at yahoo dot com/linehanp at tcd dot ie

I drink to keep body and
soul apart - O. Wilde.

"Mens sana in campari soda" - anon.



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 7 post ] 

 Relevant Pages 

1. ASCII, ASCII, ASCII, ASCII

2. ASCII, ASCII, ASCII

3. ASCII Edit of ACCESS file

4. Copy ASCII Tables to New Paradox Tables

5. ASCII tables --> Sybase tables

6. I can't edit table where I join two table (SQL 6.5)

7. PARADOX TABLE SORTING vs TABLE EDIT CONFLICT

8. Multi-Table Form - Detail Table Edit Problem

9. I can't edit table where I join two table (SQL 6.5)

10. edit table in access table

11. Multi-Table Form - Detail Table Edit Problem

12. Converting 7-bit ascii to 8-bit ascii


 
Powered by phpBB® Forum Software