 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Codeman56 Guest
|
Posted: Wed May 03, 2006 6:03 pm Post subject: Pesky Error |
|
|
Hello everyone. I am fairly new to Delphi, but have been coding for
many years in other languages. Anyway, I have this pesky error.
EDatabaseError message: 'Cannot perform this operation on an open
database'.
This is why its so odd. My application runs perfectly in both runtime
and development modes. I have a TDBGrid on one screen that I need to
add a field to. I open the project, open the form with the DBGrid on
it, and open my projects form where all of my datasets and querys are
located. I open the code editor for the appropriate query, and simply
add a.fieldname to the Select statement. At this point everything will
run perfectly still. I then double click my query to open the fields
list. I click Add and the new field I added to the select statement is
there. I click it to add it and save all. When I now try to run this
application it gives me the error. If I go back into the query and
remove that field and save, it still gives me the error and the only
way I can get the error to stop is to replace my project with a backup
copy.
What am I missing here? Why is adding a simple field to a query making
this error happen. Doing that is not opening the database a second
time? I'm stumped.....
Please respond in small steps as I am learning. Thanks... |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Tue May 09, 2006 10:14 pm Post subject: Re: Pesky Error |
|
|
On 3 May 2006 10:30:59 -0700, Codeman56 wrote:
| Quote: | What am I missing here?
|
Hoi
You need to repost your message on the Borland news server to make
everybody see it and possibly answer your message.
How to post to Delphi newsgroups:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|