Solved

Questions on database Sync

Posted on 2004-09-29
8
220 Views
Last Modified: 2010-04-23
I have a questions reguarding upddating a local database from a server drive.  I have created an offline / online application.  When the app starts it verifies if it can get to the server, yes - online, no- offline,  I copy of a 485mb database is loaded from cd at start.  What are my options to update the local database when the user knows they are online, and send only changes.

Thanks,

MJ
0
Comment
Question by:malanois
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179425
you want to update records or the whole database?
0
 

Author Comment

by:malanois
ID: 12179481
Update the records.
0
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179540
ok, then wich sql tool are you using? sql server? access? oracle?

if you use oracle or sql server or any sql tool that can use stored procedure,  you can just create a stored procedure that takes parameters representing all field you want to update.

you can also use directly the update statements from your program to the server.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179547
oh and the stored procedure has to old the update statement to ;-)
0
 

Author Comment

by:malanois
ID: 12179819
The databse is access.
0
 

Accepted Solution

by:
DimYanChatelAsDataSet earned 500 total points
ID: 12179947
ok, then just  use the UPDATE statements trought your program, you know how to send sql trough vb?

the way of sending UPDATE is just as a regular SELECT statement.
0
 

Author Comment

by:malanois
ID: 12180732
Ok,

Is ther anyway to show how many rows were updated.

0
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12181791
actually, you can only update one row at a time but maybe my knowledge is not that advanced.

is this solution ok for you?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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