473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Update data in split database

I have a split database and I need to replace one of the data tables in the back end weekly. I'd like to have the user who gets the new data file each week to replace the old file but I don't really want him in the back end database. Is it possible to write a query or code in the front end that would allow the table in the back end to be replaced?
Jun 2 '15 #1
3 1815
jforbes
1,107 Expert 1GB
Where would the Table come from? Does the user make it in Excel, or is it a text file from another system, or an Access Database from another department?

Writing a routine to clear out a table and repopulate it from an external source is usually easy enough. Usually it is the integrity of the Source data that determines how difficult this can become.
Jun 2 '15 #2
We receive an Excel file weekly, which is an extract from one of the corporate systems. We're using that data file to build our local systems to help us manage our little piece of paradise! I'm confident the data is good and since this is an extract, I have no concerns over compromising the upstream data source.
Jun 2 '15 #3
jforbes
1,107 Expert 1GB
A cheap and easy way to accomplish this is to place the spreadsheet in a user friendly directory and then link to the Spreadsheet from the Client. The caveat with this is that the data would be read-only for the spreadsheet and there would be no integrity checks on the data so if the extract contains strange data you could get strange results.

To take the model a little further, you could do all the above, then create an import routine that would import all the data from the spreadsheet into your working table(s) in the Backend Database. Then create a Button for your User to execute the import routine. That way they could replace the spreadsheet and run the Import from a button as needed.

One last note. The more structured and more consistent the data that is provided the easier it will be to update the data. If it is very structured and consistent, linking to the raw spreadsheet may cover all your needs. If the opposite is happening, you may have to write code that goes through the spreadsheet line by line and massages the data before inserting it into your backend tables.
Jun 2 '15 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Matt | last post by:
Hello. I am having a problem with one of my split databases. I have two user's of the database not including myself. The problem only seems to affect one of the user's. The database is used...
2
by: raydelex | last post by:
I have a split database (Access 2003). Now I need to port the database to the end-users' computer for a demonstration. When I try to start up the database on the other computer, it tells me...
5
by: jason | last post by:
Hi, all How can I update data (multiple rows, but not every rows) using dataset in datagrid? I mean is there any way I can let datagrid know which row(s)/column(s) has been modified and update...
7
by: DanZaMan | last post by:
Just a query about how clever access is, I'm using access 97. When using a "split" database with a separate front-end and with the data file on a separate server on the network how does access...
3
by: =?Utf-8?B?TXJrIEJsYWNrYWxs?= | last post by:
Hi all, This is my first attempt to update an access database in VB.Net 2005. It goes broadly as follows (I have condensed it): Dim MyConnection As New Data.OleDb.OleDbConnection...
1
by: dhrubobabu | last post by:
$query="Update sign_in set user_name='$u_name', address='$u_address', e-mail-id='$email', password=$'pass', user_type='user', contact_number='$contact_number' where user_id='$id'"; ...
1
by: progvar | last post by:
Hi i want to update data in database using datagridview actually i am displaying the data in datagridview and after that i want to update some rows data directly modifying the displayed data into...
1
by: Rishabh Indianic | last post by:
hi, i am trying to update data stored in data base with following code i am able to show data from database but i can not able to update it. int Theme_ID = Convert.ToInt32(textBox1.Text);...
5
by: rhonda6373 | last post by:
Good morning, I have a client that has sent me a database that is already split. I have not worked with a split database before. He wants me to make the changes and then re-import data from...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.