Solved

Records editing (dbGrid) for Interbase 6.01

Posted on 2001-09-10
20
291 Views
Last Modified: 2010-04-04
I have Interbase 6.01 server, I want to edit a table that contains about 65,000 records. I use Filtered IBTable and dbGrid, every thing works fine in local server, but in the remote clients (In the same LAN) I encounter this error when I go to the last record in dbGrid (Error readign data from connection).
What did you suggest to do, and can I still I use Table instead of stored procedure?

I need to edit the records and insert new records.

btw. I have no points now but I'll give this question 100 points on 25-Sep-2001

Thanks
Motaz
0
Comment
Question by:Motaz
20 Comments
 
LVL 1

Expert Comment

by:darkloser
ID: 6472077
listening...
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6472151
maybe you should use an ibquery-object (for browsing) and
an ibupdatsql-object as update-object(property) of the query
for inserts, modifying and updates
0
 
LVL 7

Author Comment

by:Motaz
ID: 6473207
I also get the same error when I open large query
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 7

Author Comment

by:Motaz
ID: 6473244
How can I use ibUpdateSQL, and if you know that I'm using Lookup field and Calculated field, can this be done by Query and UpdateSQL?
0
 
LVL 9

Accepted Solution

by:
ITugay earned 100 total points
ID: 6476553
Hi Motaz.

I think that problem is in virtual memory. Large filtered datasets loaded into memory. I met this problem before. The error messages may be different, often, running application under Delphi IDE, you can see even something like "can't set debug hook".  To solve problem use IBQuery and IBUpdateSQL like Meikl recommended. It's easy, just take a look at help, there is samples how to write Insert, Delete, Update statements.

----
Igor.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6476582
Hi Motaz.

I think that problem is in virtual memory. Large filtered datasets loaded into memory. I met this problem before. The error messages may be different, often, running application under Delphi IDE, you can see even something like "can't set debug hook".  To solve problem use IBQuery and IBUpdateSQL like Meikl recommended. It's easy, just take a look at help, there is samples how to write Insert, Delete, Update statements.

----
Igor.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6476584
sorry, wrong thread :-)

Hi Motaz.

I think that problem is in virtual memory. Large filtered datasets loaded into memory. I met this problem before. The error messages may be different, often, running application under Delphi IDE, you can see even something like "can't set debug hook".  To solve problem use IBQuery and IBUpdateSQL like Meikl recommended. It's easy, just take a look at help, there is samples how to write Insert, Delete, Update statements.

----
Igor.
0
 
LVL 7

Author Comment

by:Motaz
ID: 6478492
Hi Igor and Meikl,
I convert it to a query and I show only 20 records,
the application will be start operation today, so that keep in touch for unexcpected errors.

btw. We have a problem in Win98 network, so that large data cann't be manipulated in this network.

Motaz
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6478875
Hi Motaz,

seems all problems regarding network faults.

----
Igor.
0
 
LVL 7

Author Comment

by:Motaz
ID: 6478943
yes,
Igor, have you MSN Messanger login? if yes then mine is azzzoz@hotmail.com
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6478979
Motaz,

I can use only  HTTP. All ports are inavailable. So, I have no any messengers. Sorry.

----
Igor.
0
 
LVL 7

Author Comment

by:Motaz
ID: 6479168
What is your current E-Mail, I sent an E-Mail to you but you didn't reply, it was in : igor@aif.kz
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6479250
Hi,
I sent you message via e-mail. Just check sender's address :-)
0
 
LVL 7

Author Comment

by:Motaz
ID: 6484332
I receive it and I reply, did you get the reply
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6487041
Hi Motaz,
no messages from you in my mail box.
try my old address igor@novell.kz, there is redirector to my new address.

Igor.
0
 
LVL 7

Author Comment

by:Motaz
ID: 6489472
Hi Igor, I sent to you a message in igor@novell.kz, did you receive it or not. btw in all my messages that I've sent to you recently, I didn't get the message back to inform me that the address is wrong, so that I suppose that it arrives.

Motaz
0
 
LVL 7

Author Comment

by:Motaz
ID: 6501949
My Interbase database corrupted whenever the power is off, while there are a process or the database is opened, any experience this?
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6505087
Hi Motaz,

seems your IB runs without UPS, right? I nthis case "Forced Write" options for database must be "True". It prevent from corruption data on power off. But IB work slow (while editing or inserting records) in this mode regarding necessity to write transactions immediatally after it was finished.

If your database already corrupted then you have to try restore it. Try to run "Database Validation". This options appears on popup menu while database doesn't connected. After that, backup your database and then restore it back.

-----
Igor.

PS: In further set sweep interval = 0 to prevent IB from sweeping database automaticaly.

PPS: I can't understand what's wrong with my e-mail. I receive all notifications from EE now, but no one till few days before weekend.
0
 
LVL 7

Author Comment

by:Motaz
ID: 6505210
Thanks Igor for all these information, it seems that I'll consult you in many things during the development in this project.

I don't know what is wrong in your E-Mail, I sent to you many times.

Motaz
0
 
LVL 7

Author Comment

by:Motaz
ID: 6507889
Thanks Igor and Miekl, and sorry for late grading, I receive my points just now.
Miekl, I'll post 100 points for you.

Motaz
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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