Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 10 of 23 total |
AV when post a ttable |
Tue, Jul 27 2010 10:23 AM | Permanent Link |
Hershcu Sorin | Hello
I use the 2.03b17. When i try to run the code TedbMytable.Post it raise the error AV at address 0060350E... Since I know that it's mean that the object doesn't exists I check the TedbMytable.state with the debugger and it's show "dsInsert" Any other suggestions what can cause the problem? Thanks Sorin |
Tue, Jul 27 2010 1:10 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Sorin
The thing that comes to mind is a linked event (eg AfterPost) doing something to a component that hasn't been created yet Roy Lambert |
Wed, Jul 28 2010 4:00 AM | Permanent Link |
Hershcu Sorin | "Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message
> The thing that comes to mind is a linked event (eg AfterPost) doing > something to a component that hasn't been created yet Thanks Roy but no, there are not events defined on this table Thanks Sorin |
Wed, Jul 28 2010 4:26 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Sorin
In that case, if you haven't already, install madExcept. That will help you narrow it down. Roy Lambert [Team Elevate] |
Wed, Jul 28 2010 6:57 AM | Permanent Link |
Hershcu Sorin | "Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message
> In that case, if you haven't already, install madExcept. That will help > you narrow it down. Thanks again Roy It's a tough problem I install the madExcept and even add some code to test it and it's work but the TMyTable.Post code line raise the AV error without any reaction from madExcept Thanks Sorin |
Wed, Jul 28 2010 8:13 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Sorin
>I install the madExcept and even add some code to test it and it's work >but the TMyTable.Post code line raise the AV error without any reaction from >madExcept I find that very difficult to believe. Have you enabled MadExcept for the project the AV occurs in? Its not automatically enabled for every project. Roy Lambert [Team Elevate] |
Wed, Jul 28 2010 9:15 AM | Permanent Link |
Dale Derix | Here are a couple of things you might try.
A. Disconnect any TDataSource controls that are connected to the table. B. Run a repair on the table. C. Try creating a brand new table and see what happens. Dale |
Wed, Jul 28 2010 4:46 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Sorin,
<< Any other suggestions what can cause the problem? >> In such cases, it's a good idea to try a similar Post using the EDB Manager. If it works in the EDB Manager, then it's a problem in your application. If you also get an AV in the EDB Manager, then try to repair the table and see if that helps. -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Jul 29 2010 1:37 AM | Permanent Link |
Hershcu Sorin | "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
> In such cases, it's a good idea to try a similar Post using the EDB > Manager. If it works in the EDB Manager, then it's a problem in your > application. If you also get an AV in the EDB Manager, then try to repair > the table and see if that helps. I try with the manager and it's ok. The problem is in my code but I couldn't find it yet. Thanks Sorin |
Thu, Jul 29 2010 10:40 AM | Permanent Link |
Hershcu Sorin | Hello
The workaround I found is to create a new datamodule with a copy of the problematic ttable. I leave the new datamodule on the auto-create forms list and thats all. I never call any method or procedure on the new datamodule but now the MyTable.post on the old datamodule works without AV. I don't see any logic on that workaround. There is definitely some problem with the create of the old datamodule but I can't figure out what. I'll keep on searching. Thanks Sorin |
Page 1 of 3 | Next Page » | |
Jump to Page: 1 2 3 |
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |