473,757 Members | 9,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

doing a update

Roy
Hi Access gurus,
I have a A2K application.The data in the database is updated daily by a
excel download.I have a master n related tables keyed in by a OrderID.I
have a problem in updating data.If it is a one to one update,i face no
problem as I update every fields.But let's say if there is a master
record with ID and three corresponding related entries for this on day
1.But on the next day,there was a change on related records 2 & 3 but
not on the first.Then how will I raise a flag so that updates are done
only on the second and third but not on first?Let me explain further:I
have a stopUpdate button on every table including the Master.When no
updates are needed,I can check this button on the Master,thus
preventing updates on related tables.Or if it is just a one record,i
can update alll fields without any problems.But my main problem is
,when I need to update selected records on the related tables ,I cannot
have the button checked in the master.Or should I have stopupdate on
each related record?Hope I have been clear.Thanks in advance.

Roy

Apr 23 '06 #1
3 2339
Roy wrote:
Hi Access gurus,
I have a A2K application.The data in the database is updated daily by a
excel download.I have a master n related tables keyed in by a OrderID.I
have a problem in updating data.If it is a one to one update,i face no
problem as I update every fields.But let's say if there is a master
record with ID and three corresponding related entries for this on day
1.But on the next day,there was a change on related records 2 & 3 but
not on the first.
Where is the change coming from? Excel or Access? Does the data in
Access change, or does the data change in Excel, or both?

Then how will I raise a flag so that updates are done only on the second and third but not on first?
Does your Excel download download all records or just those that have
been updated? Can it be modified to include only those records that
have been updated?

Let me explain further:I have a stopUpdate button on every table including the Master.When no
updates are needed,I can check this button on the Master,thus
preventing updates on related tables.Or if it is just a one record,i
can update alll fields without any problems.But my main problem is
,when I need to update selected records on the related tables ,I cannot
have the button checked in the master.Or should I have stopupdate on
each related record?Hope I have been clear.Thanks in advance.
Is there anything you can do by linking the Excel data within Access.
If you have A2003 I don't think you can update from Access but you can
update from Excel. If you have another version (less that AXP I think)
you can update from both sides. It's something you may want to check
out in Google Groups...http://groups.google.com/advanced_search?hl=en
Enter
*access*
in the groups box of the search.

Roy

Apr 23 '06 #2
Roy
Hi ,
Thanks for the reply.The Download is from Excel and includes all
records and not just changed data.I cannot do the linking of excel
sheet direct because of the application needs.

salad wrote:
Roy wrote:
Hi Access gurus,
I have a A2K application.The data in the database is updated daily by a
excel download.I have a master n related tables keyed in by a OrderID.I
have a problem in updating data.If it is a one to one update,i face no
problem as I update every fields.But let's say if there is a master
record with ID and three corresponding related entries for this on day
1.But on the next day,there was a change on related records 2 & 3 but
not on the first.


Where is the change coming from? Excel or Access? Does the data in
Access change, or does the data change in Excel, or both?

Then how will I raise a flag so that updates are done
only on the second and third but not on first?


Does your Excel download download all records or just those that have
been updated? Can it be modified to include only those records that
have been updated?

Let me explain further:I
have a stopUpdate button on every table including the Master.When no
updates are needed,I can check this button on the Master,thus
preventing updates on related tables.Or if it is just a one record,i
can update alll fields without any problems.But my main problem is
,when I need to update selected records on the related tables ,I cannot
have the button checked in the master.Or should I have stopupdate on
each related record?Hope I have been clear.Thanks in advance.


Is there anything you can do by linking the Excel data within Access.
If you have A2003 I don't think you can update from Access but you can
update from Excel. If you have another version (less that AXP I think)
you can update from both sides. It's something you may want to check
out in Google Groups...http://groups.google.com/advanced_search?hl=en
Enter
*access*
in the groups box of the search.

Roy


Apr 24 '06 #3
Roy wrote:
Hi ,
Thanks for the reply.The Download is from Excel and includes all
records and not just changed data.I cannot do the linking of excel
sheet direct because of the application needs.
I guess I'm still confused. Does the download from Excel simply
overwrite the Access data? How do you update existing records if it
doesn't? Let's say that you change recs 1&3, not 2. Does it matter if
you update all 3 or do you also change data in Access and only update
1/3 because those changes come from Excel? If data changes in Excel on
detail one-2-many recs, can you not put a flag to note a change in
Excel...or Access tables? Do you change data in both Excel and Access?
You know the specs, but it's hard to grasp the idea of what you are
doing from what you have written.
salad wrote:
Roy wrote:

Hi Access gurus,
I have a A2K application.The data in the database is updated daily by a
excel download.I have a master n related tables keyed in by a OrderID.I
have a problem in updating data.If it is a one to one update,i face no
problem as I update every fields.But let's say if there is a master
record with ID and three corresponding related entries for this on day
1.But on the next day,there was a change on related records 2 & 3 but
not on the first.


Where is the change coming from? Excel or Access? Does the data in
Access change, or does the data change in Excel, or both?

Then how will I raise a flag so that updates are done
only on the second and third but not on first?


Does your Excel download download all records or just those that have
been updated? Can it be modified to include only those records that
have been updated?

Let me explain further:I
have a stopUpdate button on every table including the Master.When no
updates are needed,I can check this button on the Master,thus
preventing updates on related tables.Or if it is just a one record,i
can update alll fields without any problems.But my main problem is
,when I need to update selected records on the related tables ,I cannot
have the button checked in the master.Or should I have stopupdate on
each related record?Hope I have been clear.Thanks in advance.


Is there anything you can do by linking the Excel data within Access.
If you have A2003 I don't think you can update from Access but you can
update from Excel. If you have another version (less that AXP I think)
you can update from both sides. It's something you may want to check
out in Google Groups...http://groups.google.com/advanced_search?hl=en
Enter
*access*
in the groups box of the search.

Roy


Apr 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4598
by: Sean Shanny | last post by:
To all, The facts: PostgreSQL 7.4.0 running on BSD 5.1 on Dell 2650 with 4GB RAM, 5 SCSI drives in hardware RAID 0 configuration. Database size with indexes is currently 122GB. DB size before we completed the vacuum full was 150GB. We have recently done a major update to a table, f_pageviews, in our data warehouse. The f_pageviews table contains about 118 million rows.
1
1353
by: Kevin | last post by:
Hi All Can someone tell me if I am doing this correctly, or can possibly suggest better ways, if I'm not doing this correctly. I have a windows application that I am writing,So I have a UI and I have another class that handles the inserts,updates etc to a specific table/s in the database,(I actually have multiple classes that do more or less the same thing, but for different sets of tables in the database) Then in my UI code I have a...
2
2711
by: Aaron Ackerman | last post by:
I cannot a row to this bound DataGrid to SAVE MY LIFE! I have tried everything and I am at a loss. The using goes into add mode with the add button adds his data then updates with the update button, seems simple. I am using ALL visual controls (supposedly to simplify things. If I was not using the visual controls and calling an ExecuteNonQuery no prob. Please look at my code and tell me what I am doing wrong. Also, what are the advatages...
6
1346
by: Chris Calzaretta | last post by:
Just wanted to get a post out there to get some information on best way to do .net updates at runtime. Throw any and all ideas out there please Thanks Chris
16
1873
by: SLIMSHIM | last post by:
Hi, I"m new to c# and .net. I wrote a small program to add rows to an access table. the program goes thru the motions but the data never gets there. here is my code. I am intentionaly not using the form controls. I"m trying to do it solely thru code. You can safely assume I have an access datsabase with one table called who with three columns(fields). where did i go wrong ? OleDbConnection con;
1
6497
by: Jeremy | last post by:
I've got a GridView control in an updatepanel. Each row has two controls. one control only affects the display of things inside the update panel, so I want it to be asynchronous, but the other control affects things on the rest of the page which aren't inside an update panel. Can I make a control in an update panel stop doing asynchronous postbacks?
4
1260
by: roddie | last post by:
Hi. I am working on a small project and I am using Java with a SQL Server 2000 back-end. I have written a trigger on one of the database tables which apparently is not doing anything. Given below is the T-SQL code CREATE TRIGGER ON . FOR UPDATE AS declare @previousOwner int declare @prevOwner1 int declare @prevOwner2 int declare @prevOwner3 int
14
1804
by: jmDesktop | last post by:
I have a food menu. Each area, like beverages, grill, etc. have items under them, Coke, Tea, Coffee would be under beverages for example. I want to add a new drink to beverages. In my database I have an "area" like above, Bevs, Grill, Chicken... In my menu items I have an ID from the area so, table areas id 1 areaname beverages id 2 areaname grill
4
1670
by: Wavey | last post by:
Hi All, I have a C# test app that writes to an access database with the following code DataRow editRow1 = ds.Tables.Rows.Find("1"); DataRow editRow2 = ds.Tables.Rows.Find("2"); editRow2 = "Bob"; editRow1 = "AAAAAAA";
0
9298
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10072
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7286
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5172
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.