![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Folks: I recently converted a 13+ year old database app from Access 97 to Access2003. The conversion was swift and completely uneventful. *There are dozens of tables, queries, forms, reports, macros, and code modules. *In particular, all of code modules have been recompiled w/o a single hiccup (and *every* form and report has quite a bit of code behind it !) Simple code seems to update the underlying tables w/o incident, but of course, the most important updates related to customer billing are no longer reliable ! I've been scratching my head for the past month over this and manually fixing customer records w/ bogus info. *But w/ the start of April, there's (naturally) a brand new monthly billing cycle w/ new batch billing run and I can't continue fix balances (for hundreds of customers) on-the-fly anymore ! There are the following tables: Customer (possessing multiple) * * Orders (possessing multiple) * * * * Invoices (possessing multiple) * * * * * * Transactions Everything is wrapped in a single transaction via DAO/VBA and new Transactions and Invoices are created successfully. *Order balances are updated okay, but the final part of the transaction, to update the Customer balance, is simply wrong ! When I wrote this app, I was an independent contractor, so I had lots of time to figure out stuff like this and also spent several hours/week on this newsgroup and other newsgroups. *I doubt that anyone can help w/ this, but I remembered the newsgroups (it's been several years) and am hopeful someone can [at least] recommend something for me to look into. *In the meantime, after I get off work, I'll be spending the remainder of this weekend reviewing the code and staging a dry run of this batch billing system. Thanx in advance for your attention....Jet |
#3
| |||
| |||
|
|
Folks: I recently converted a 13+ year old database app from Access 97 to Access 2003. The conversion was swift and completely uneventful. There are dozens of tables, queries, forms, reports, macros, and code modules. In particular, all of code modules have been recompiled w/o a single hiccup (and *every* form and report has quite a bit of code behind it !) Simple code seems to update the underlying tables w/o incident, but of course, the most important updates related to customer billing are no longer reliable ! |
#4
| |||
| |||
|
|
Simple code seems to update the underlying tables w/o incident, but of course, the most important updates related to customer billing are no longer reliable ! I've been scratching my head for the past month over this and manually fixing customer records w/ bogus info. But w/ the start of April, there's (naturally) a brand new monthly billing cycle w/ new batch billing run and I can't continue fix balances (for hundreds of customers) on-the-fly anymore ! |
#5
| |||
| |||
|
|
Folks: I recently converted a 13+ year old database app from Access 97 to Access 2003. The conversion was swift and completely uneventful. There are dozens of tables, queries, forms, reports, macros, and code modules. In particular, all of code modules have been recompiled w/o a single hiccup (and *every* form and report has quite a bit of code behind it !) Simple code seems to update the underlying tables w/o incident, but of course, the most important updates related to customer billing are no longer reliable ! I've been scratching my head for the past month over this and manually fixing customer records w/ bogus info. But w/ the start of April, there's (naturally) a brand new monthly billing cycle w/ new batch billing run and I can't continue fix balances (for hundreds of customers) on-the-fly anymore ! There are the following tables: Customer (possessing multiple) Orders (possessing multiple) Invoices (possessing multiple) Transactions Everything is wrapped in a single transaction via DAO/VBA and new Transactions and Invoices are created successfully. Order balances are updated okay, but the final part of the transaction, to update the Customer balance, is simply wrong ! When I wrote this app, I was an independent contractor, so I had lots of time to figure out stuff like this and also spent several hours/week on this newsgroup and other newsgroups. I doubt that anyone can help w/ this, but I remembered the newsgroups (it's been several years) and am hopeful someone can [at least] recommend something for me to look into. In the meantime, after I get off work, I'll be spending the remainder of this weekend reviewing the code and staging a dry run of this batch billing system. Thanx in advance for your attention....Jet |
#6
| |||
| |||
|
|
Before you jump to try Mr. Kempf's "standard advice", you should investigate how easy / difficult it will be to convert using your backend datastore. ADP is _effectively_ deprecated in current versions of Access and has never worked well with anything but a MS SQL Server back-end datastore. I am reasonably sure he has suggested you perform major surgery for a minor problem. (What the heck? It's not _his_ time, effort, or money.) *Larry Linson *Microsoft Office Access MVP "a a r o n . k e m p f @ g m a i l . c o m" <aaron.ke... (AT) gmail (DOT) com> wrotein messagenews:5771cfe3-2936-4f28-ac43-92f55cef2e73 (AT) 18g2000prd (DOT) googlegroups.com... I'd recommend upsizing to Access Data Projects... I've never had any trouble with multiple table updates there.. more importantly, you could easily encapsulate those modifications into a stored procedure, and then you can utility the try / catch functionality, it's BEAUTIFUL BEGIN TRY * * * *Update table1 set value = 'XYZ' END TRY BEGIN CATCH * * * *Print 'ErrorInfo: ' -- there are a BUNCH of different variables that you can use here ![]() END CATCH I can easily write transactions (on the server side _OR_ through ADO) -Aaron On Apr 2, 4:24 am, "greyhawk" <mr.roboto... (AT) gmail (DOT) com> wrote: Folks: I recently converted a 13+ year old database app from Access 97 to Access 2003. The conversion was swift and completely uneventful. There are dozens of tables, queries, forms, reports, macros, and code modules. In particular, all of code modules have been recompiled w/o a single hiccup (and *every* form and report has quite a bit of code behind it !) Simple code seems to update the underlying tables w/o incident, but of course, the most important updates related to customer billing are no longer reliable ! I've been scratching my head for the past month over this and manually fixing customer records w/ bogus info. But w/ the start of April, there's (naturally) a brand new monthly billing cycle w/ new batch billing run and I can't continue fix balances (for hundreds of customers) on-the-fly anymore ! There are the following tables: Customer (possessing multiple) Orders (possessing multiple) Invoices (possessing multiple) Transactions Everything is wrapped in a single transaction via DAO/VBA and new Transactions and Invoices are created successfully. Order balances are updated okay, but the final part of the transaction, to update the Customer balance, is simply wrong ! When I wrote this app, I was an independent contractor, so I had lots of time to figure out stuff like this and also spent several hours/week on this newsgroup and other newsgroups. I doubt that anyone can help w/ this, but I remembered the newsgroups (it's been several years) and am hopeful someone can [at least] recommend something for me to look into. In the meantime, after I get off work, I'll be spending the remainder of this weekend reviewing the code and staging a dry run of this batch billing system. Thanx in advance for your attention....Jet |
#7
| |||
| |||
|
|
Before you jump to try Mr. Kempf's "standard advice", you should investigate how easy / difficult it will be to convert using your backend datastore. ADP is _effectively_ deprecated in current versions of Access and has never worked well with anything but a MS SQL Server back-end datastore. |
#8
| |||
| |||
|
|
YOUR JET BULLSHIT LOSES DATA THUS IT _IS_ALWAYS_ WORTH IT TO MIGRATE! |
#9
| |||
| |||
|
|
YOUR JET BULLSHIT LOSES DATA THUS IT _IS_ALWAYS_ WORTH IT TO MIGRATE! |
#10
| |||
| |||
|
|
"a a r o n . k e m p f @ g m a i l . c o m" <aaron.ke... (AT) gmail (DOT) com wrote innews:ce7d7362-f933-42c9-ba22-4e45ee9ce43b (AT) f15g2000pro (DOT) googlegroups.co m: YOUR JET BULLSHIT LOSES DATA THUS IT _IS_ALWAYS_ WORTH IT TO MIGRATE! Aaron, I have no doubt that when you use Jet, you lose data left and right. I suspect you lose data when you use SQL Server, too. It's not the database engines that are at fault, but the idiocy of the user. -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |