Update a database automatically from desktop
Hi
I have been asked to find out the following:
If a database is located on a desktop and a copy is on the
web site, is
there a way to syncronise them automatically at specified
intervals ie every
5 minutes update all files that have changed?
Thanks
Ian
Hi
Obtained some further information, life gets even more
complicated
The database software is Alpha5 which has it's own web
application server.
the client runs the database locally using a local host but
wants to
duplicate it on his web site.
I think the concept is that customers can log onto the web
site abd track
their repairs and purchases.
As his local database does not reside on a web server he
wants to either
link to it via his web site or mirror the database on hos web
site.
Is this a non starter?
cheers
Ian
"bregent" <[email protected]> wrote in
message
news:e42cpa$2b3$[email protected]..
> Which dbms?
> Do you need bidirectional syncing?
> All files that have changed? Are you talking about a
database or files?
Similar Messages
-
Update the database structure from entity Framework Model
Hello !
I'm using VB.net , EF6 with SQL server 2008R2 database.
This is the situation :
I have created the application. Using wizard I have created the Entity model from an existing database.
A client start using this application using this database on his computer.
After some month , I made some modifications on the database and I have updated the model on my application .
Now I have a new .exe file that has the new model from the new database.
I put the new .exe file on the client computer.
Now on his computer : The .exe file has the new database model , but the sql server database has the old structure.
I want to know : Is possible to update the database structure from the entity model on application ?
I want to add a command on application that can make ( if is possible ) this update , so the database become up to date according to entity model ?
Thank you !Hello,
From your description, it seems that you want to apply a migration for a database first approach, unfortunately, as far as I know, EF Migrations is a product targeted at Code First and doesn't support Database First operations. A workaround I know is to
use update-scripts. If your database structure would be changed frequently, it is recommended to use the Code First approach which would have a better workaround for migrations, for details, you could refer to this
video,
and with the
Entity Framework Power Tools, it is easy to create a code first based project form an existing database.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to Update PO's Automatically from Backend..
I want to approve PO's which are in Process or requires Reapproval from backend..
Can Anybody help??I have created a invoice and updating payment details.
I just need small information regarding payaments.
After invoice we create payments using validate, pay in full.
But What actually happens when we do validate and pay in full.
and what are the fields and tables effected in this process.FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
R12 Docs
http://docs.oracle.com/cd/E18727_01/index.htm
eTRM
http://etrm.oracle.com/
Thanks,
Hussein -
Updating database table from an internal table
Hi All,
I am updating a database table from an internal table.
I am changing the non-key fields in that table.
when I check sy-subrc = 4.
Record already exists, because I am changing non-key fields of the
database table.
Is there any addition like to accept the duplicate keys with update.
Alternatively, I have used Modify, It is adding new record,
Again, I have search the old record and use Delete on the database table.
Thanks & Regards,
Kalyan Chandramouli
SAP ABAP ConsultantHi,
You are right, the field which I am trying to change is a part of primary key.
Because, sy-subrc = 4. says,
No line with specified primary key exits in the database table.
I have a Z-tabel, with Kunnr Vkorg Matnr Bzirk Bztxt Split_percentage
In this table primary key consists of KunnrVkorgMatnr+Bzirk.
I am able to change the Split_percentage using UPDATE.
Now, my client want to change Bzirk, Bztxt also in the table.
How can I Go.
Thanks & Regards,
Kalyan Chandramouli
SAP ABAP Consultant -
Updating database table from internal table
I am updating the database table from internal table for this is have used the following syntax
Update kna1 from table itab.
And it is giving error message as the work are itab is not long enough.
Please help me.Hi,
Refer this code
*& Form SUB_READ_UPDATE_BSEG
text
FORM sub_read_update_bseg.
IF NOT it_final[] IS INITIAL.
LOOP AT it_final INTO wa_final.
UPDATE bseg SET zuonr = wa_final-ccnum
WHERE bukrs EQ wa_final-bukrs
AND belnr EQ wa_final-vbeln
AND rfzei EQ wa_final-rfzei
AND saknr NE ' '.
ENDLOOP.
*--Message data updated successfully
MESSAGE i888 WITH text-002.
LEAVE LIST-PROCESSING.
ELSE.
*--Message No data found
MESSAGE i888 WITH text-003.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " SUB_READ_UPDATE_BSEG
Regards,
PRashant -
Regardig error while updating the database table
hi experts,
i m trying to update the database table from the values containig in my internal table ,,,but the system is giving this error plz help me::::
The type of the database table and work area (or internal table)
"ITAB_UPDATE" are not Unicode convertible. Unicode convertible.
my internal table name itab_update and the database table name yitab.i m using this statement::
modify yitab from itab_update.Hi
1. You have to Declare the Itab with the same structure as DB table.
2. Use the statement
Modify <DBtable> from TABLE <itab>.
or
Update <DBtable> from TABLE <itab>.
Hope this will solve.
Reward .....if so.
Regards. -
Rfc enabled function module for the updating the database table
Hi,
I need one rfc enabled function module for the updating the database table from the legacy system.currently i am using the rfc_read_table to read the database table.similarly i need for the update.Hi
I believe you need to create one by yourself
Max -
Best way to update DR database from PROD server automatic ?
Hello Gurus,
I want to decide best solution.
Goal: Best way to update DR Database from PROD Server Database automatic.
System: 32 bit Linux system with Oracle Database 10g Release 10.2.0.4.0 - Production (database version) Oracle version is standard.
Please let me know how i can update my DR server with PROD data and this task should be automatic.
Please ask me more information if required to solve this issue.
Thanks- Priyank
Edited by: Oracle DBA P on Nov 19, 2010 3:06 AMyou mean to say data guard needs to implement ? i think that's one option but what you said is different ?
tell me procedure how i can implement your idea ? steps i have to perform.
Thanks
Edited by: Oracle DBA P on Nov 19, 2010 3:38 AM -
Update Access database via OleDB from DataGridView
I have been scouring these forums and the internet in general as well as doing a lot of reading, all to no avail. I can not seem to successfully update the Access database from an edited DataGridView. I am trying to use Stored Procedures that
are in the Access database and work fine therein. The DGV is filled in properly. I have tried an ever-increasing number of variants to update the database (Private Sub BtnUpdate...) without success. I'd really, really appreciate some
guidance here.
Here is my code thus far:
Public Class Form1
Dim con As OleDbConnection
Dim cmd As OleDbCommand
Dim da As OleDbDataAdapter
Dim ds As DataSet
Dim ProviderConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
Dim TargetList As String = "C:\Users\Administrator\Documents\Visual Studio 2010\Projects\Development5\Test.mdb"
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'establish a connection to the database
con = New OleDbConnection(ProviderConnectionString & TargetList)
con.Open()
'define the command to be used
cmd = New OleDbCommand
cmd.Connection = con
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = "ListAllTargets"
'create the data adapter based on the command
da = New OleDbDataAdapter(cmd)
'fill the data set based on the command
ds = New DataSet
da.Fill(ds, "AllTargets")
'bind and load dgvTargets with the data
dgvTargetList.DataSource = ds.Tables("AllTargets") ' Binding to dgvtargetlist
End Sub
Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
da.UpdateCommand = New OleDbCommand("UPDATE TargetList SET;", con)
Validate()
da.Update(ds.Tables("AllTargets"))
Me.ds.AcceptChanges()
End Sub
End ClassHi John,
Welcome to MSDN forums!
Cor pointed you to the right direction. An OleDBCommandbuilder object is required, which can be used to automatically
generate DeleteCommand, UpdateCommand and InsertCommand for DataAdapter object.
Here is detailed walkthrough: How to update
(Insert/Update/Delete) data back into MS Access database from DataGridView.
1) New a WinForms project, drag&drop DataGridView1 and Button1 onto
Form1.
2) Add database file test.mdb to project via: Data menu -> Add New Data Source
Wizard ... then you can use ralative path to this database file in code
3) Select/click
your database file test.mdb in Solution Explorer
-> Properties Pane
-> change the "copy to ouput directory" to "copy
if newer"
4) Code sample
Imports System.Data.OleDb
Public
Class Form1
Dim myDA As OleDbDataAdapter
Dim myDataSet As DataSet
Private Sub Form1_Load(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles
MyBase.Load
Dim con As OleDbConnection =
New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=|DataDirectory|\test.mdb") ' Use relative path to database file
Dim cmd As OleDbCommand =
New OleDbCommand("SELECT * FROM Table1", con)
con.Open()
myDA = New OleDbDataAdapter(cmd)
'Here one CommandBuilder object is required.
'It will automatically generate DeleteCommand,UpdateCommand and InsertCommand for DataAdapter object
Dim builder As OleDbCommandBuilder =
New OleDbCommandBuilder(myDA)
myDataSet = New DataSet()
myDA.Fill(myDataSet, "MyTable")
DataGridView1.DataSource = myDataSet.Tables("MyTable").DefaultView
con.Close()
con = Nothing
End Sub
' Save data back into database
Private Sub Button1_Click(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Me.Validate()
Me.myDA.Update(Me.myDataSet.Tables("MyTable"))
Me.myDataSet.AcceptChanges()
End Sub
End
Class
Best regards,
Martin Xie
MSDN Subscriber
Support in Forum
If you have any feedback on our support, please contact
[email protected]
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. -
Running resports from new database using discoverer desktop
Hi,
I am new here on the project and dont have much documentation avaialable. I have is just passwords.
I am new to discoverer. I see that there is one historical database names as HIPRD which has historical HR information of audit purpose(just database , no EBS apps). all users who uses HIPRD database they have user_id as database schema.
the way usres uses data from HIPRD database is either through disco desktop or they launch disco viewer. So they login in disco desktop as username/password database name untick oracle application user. once they login they see all folders where they hace access to run reports.
I created new database called TEST using cold backup set of HIPRD and i have upgraded to 11gR1. I have updated my local tnsnames.ora with TEST entry and i am able to connect TEST(11g) which has same data as it is available in HIPRD.
My question is what I have to do on disco side so that usres can run reports from upgraded 11g TEST database using disco desktop or disco viewer the way they are doing for HIPRD.
Please help, I am new to discovererplease i need help
-
Stock value is not getting updated in APO system From ECC automatically
Hi All,
Stock value is not getting updated in APO system From ECC automatically but if we do it manually from transaction CFM2 it will get updated.
for this we are using EXIT_SAPLCSTK_001.
I am using VL10A for delivery and VL06G for PGI
I have also checked integration model for material and stock.
Please help me out as it is very urgent.
Thanks,
Gaurav Mittal
Edited by: GAURAV MITTAL on Feb 6, 2008 6:09 PMHi,
for transferring the stock data from R/3 to APO automatically, you need to have the integration model for material and stock activated.
please check the same.
if this does not help, let me know in detail the steps which you are following..
Ram -
My desktop files and folders no longer appear on the screen. I think this is a result of an iPhoto updating. It appears (from getting info) that now Desktop is being treated like a normal file for which an application to open it must be supplied. Can anything be done? Incila
You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
You need to get a new computer or a refurbished one. -
How to update transaction data automatically into MySQL database using PI
Dear All,
With reference to subject matter I want a sincere advice regarding how to update transaction data automatically into MySQL database using PI. Is there any link available where I can get step-by-step process.
Ex: I have a MYSQL database in my organization. Whenever a delivery created in SAP some fields like DO Number, DO quantity, SO/STO number should get updated in MYSQL database automatically.
This scenario is related to updation of transactional data into MYSQL DB and I want your suggestions pertaining to same issue.
Thanks and Regards,
Chandra SekharHi .
Develop a sceanrio between SAP to Database system,When the data updates in SAP Tables read the data and update it in DATA Base using JDBC adapter,but there will be some delay in updating data in MySQL.
serach in sdn for IDOC-TOJDBC sceannario,many documents available for the same.
Regards,
Raja Sekhar -
Can I maually check for updates but prevent them from being automatically installed if it turns out one is available?
Background:
In options I have "check for updates, but let me choose whether to install them" ticked. This works fine, in that I periodically receive a notice of an available update, and it will ask me whether I want to I want to install it.
But there are certain times -- for reasons I won't go into here (unless requested as part of seeking a solution) -- where I want to manually check for new versions, but RETAIN the ability to decide whether or not to install it. But if I click Help/About Firefox/Check for Updates, and it finds an update, it will immediately proceed to install it without asking for permission. While that seems quite inconsistent with my update preferences in Options, it is apparently normal behavior as described in https://support.mozilla.org/en-US/kb/update-firefox-latest-version#w_how-do-i-manually-check-for-updates.
So is there any way I can manually check for new-update availability but then refuse the update if I so choose? Once an unwanted install begins, I'm concerned that if I click cancel I could end up with a partial installation or some "messed up," duplicated or corrupted FF files (e.g., multiple versions appended with (1), (2) etc, similar to what sometimes confusingly happens when I do an XP System Restore).
Thanks.I think what needs to be made very clear here is that when a user clicks on "check for updates" the software should bloody well CHECK for updates and most certainly SHOULD NOT proceed to download and apply any updates. this is misleading and intrusive.
I just wanted to check if there was an updated version but I DID NOT want to actually update at that moment. the software downloaded data, costing me money and tried to apply the update which could have potentially messed up my settings if I had not checked everything was ok first.
I actually discovered how to prevent the update by searching through windows and manually deleting the files but why should anyone have to go to such lengths?
the software should simply do as it is asked, not do things that have most certainly not been asked. -
ATV2 - 4.2.2 Update - Video stream from desktop quits after 2 minutes
ATV2 - 4.2.2 Update - Video stream from desktop quits after 3 minutes after most recent ATV2 software update
ATV2 is connected wired to router, desktop is 802.11nReset ATV2, router, and desktop machine and everything appears to be working normally now.
False alarm.
Maybe you are looking for
-
Is it possible to Auto text across apps
I'm looking for a way (App) that will let me use Auto text across different Apps. I write a lot of similar text pieces several times a day for client replies, and want a way for Auto text to complete these sentences for me. I want it to work across A
-
2 encoders 1 DAQ sync via rtsi for ellipsometer
Hey, this is my first big project. I need to program an algorithm to find a null in light intensity by crossing two polarizers. I rotate the polarizers with flexmotion and need to syncronize encoder positions to AI over an E series board. Both encode
-
How to remove options like add , toogle, delete in the BI Portal
When you logon to the portal and select any planning function and after giving the input for mandatory cells and after execution of that click the filter option on the right side of screen. In the next window How can we restrict the options like add
-
I believe this question has been asked several times but I am still not sure of the solution. So, here it goes again - I have a transaction with XML input. Can I go with the WSDLGen approach for sending data from R/3 to MII (12.1)? Appreciate it. Reg
-
Replacing smart object content using Droplets ???
Hi, I have a .psd with a smart object as one of the layers. I could easily go to Layers>Smart Objects>Replace Contents... but I have a couple of thousand files to replace. Is there a way to create a droplet so i can just drop the files into it and it