Click here to Skip to main content
15,894,907 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Data transfer in SAP through VB Pin
Tom Deketelaere2-Apr-09 21:53
professionalTom Deketelaere2-Apr-09 21:53 
GeneralRe: Data transfer in SAP through VB Pin
Jon_Boy3-Apr-09 2:25
Jon_Boy3-Apr-09 2:25 
QuestionMultiple timers accessing single class Pin
Doug.Aliff2-Apr-09 16:10
Doug.Aliff2-Apr-09 16:10 
AnswerRe: Multiple timers accessing single class Pin
Tom Deketelaere2-Apr-09 21:48
professionalTom Deketelaere2-Apr-09 21:48 
AnswerRe: Multiple timers accessing single class Pin
Mycroft Holmes2-Apr-09 22:04
professionalMycroft Holmes2-Apr-09 22:04 
GeneralRe: Multiple timers accessing single class Pin
Eddy Vluggen2-Apr-09 22:20
professionalEddy Vluggen2-Apr-09 22:20 
GeneralRe: Multiple timers accessing single class Pin
Jon_Boy3-Apr-09 2:23
Jon_Boy3-Apr-09 2:23 
AnswerRe: Multiple timers accessing single class Pin
Dave Kreskowiak3-Apr-09 9:26
mveDave Kreskowiak3-Apr-09 9:26 
I agree with the others. If you need this kind of reliability, Access is NOT your solution. And, your solution is not even a solution. I'll tell you why in a second. Access is a desktop database with no facilities to replicate data for serious up-time requirements. Upgrade this thing to SQL Server if at all possible.

Copying the *.mdb files every 30 seconds will result in a major problem. If the production box fails during the copy, or the network path between the production and backup boxes fails for any reason, the copy of the database you're writing to will be destroyed. By doing a file copy, you've almost garanteed the failure of the backup database. Using Access, you really don't have a 100% redundancy solution.

Even reading the records from one copy of the database and writing them to the copy (NOT using file copy!), is not a solution. Well, not an easy solution. You'd have to read a record from one table, follow it's keys to other tables, and write each record to the appropriate tables, all in one transaction, to the copy of the database, then commit the transaction and move on to the next record in the table.

What you are trying to prevent by doing this is data corruption. What if you just read the records from one table and threw them into the copy, then the production box failes?? You haven't yet copied the data from related tables, thereby destroying the integrity of the data.


Your only solution is moving to SQL Server...


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Multiple timers accessing single class Pin
Doug.Aliff4-Apr-09 16:43
Doug.Aliff4-Apr-09 16:43 
QuestionMysterious Error Pin
Dave_Lowe2-Apr-09 4:11
Dave_Lowe2-Apr-09 4:11 
AnswerRe: Mysterious Error [modified] Pin
Gregory Gadow2-Apr-09 9:51
Gregory Gadow2-Apr-09 9:51 
GeneralRe: Mysterious Error Pin
Dave_Lowe2-Apr-09 10:10
Dave_Lowe2-Apr-09 10:10 
GeneralRe: Mysterious Error Pin
Dave_Lowe2-Apr-09 10:20
Dave_Lowe2-Apr-09 10:20 
GeneralAh, I was looking at the wrong bit of your code Pin
Gregory Gadow2-Apr-09 10:43
Gregory Gadow2-Apr-09 10:43 
QuestionOutput Incorrect [SOLVED] Pin
vijay24822-Apr-09 4:03
vijay24822-Apr-09 4:03 
AnswerRe: Output Incorrect Pin
EliottA2-Apr-09 4:41
EliottA2-Apr-09 4:41 
GeneralMessage Closed Pin
2-Apr-09 5:23
vijay24822-Apr-09 5:23 
GeneralRe: Output Incorrect Pin
Jon_Boy2-Apr-09 6:03
Jon_Boy2-Apr-09 6:03 
Questionrun cmd.. Pin
p_19602-Apr-09 0:17
p_19602-Apr-09 0:17 
AnswerRe: run cmd.. Pin
Anubhava Dimri2-Apr-09 1:06
Anubhava Dimri2-Apr-09 1:06 
AnswerRe: run cmd.. Pin
Eddy Vluggen2-Apr-09 1:29
professionalEddy Vluggen2-Apr-09 1:29 
Question[Message Deleted] Pin
patricemburu1-Apr-09 21:46
patricemburu1-Apr-09 21:46 
AnswerRe: vb 6.0 Pin
Tom Deketelaere1-Apr-09 23:47
professionalTom Deketelaere1-Apr-09 23:47 
AnswerRe: vb 6.0 Pin
0x3c02-Apr-09 5:50
0x3c02-Apr-09 5:50 
AnswerRe: vb 6.0 Pin
Christian Graus3-Apr-09 0:00
protectorChristian Graus3-Apr-09 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.