473,378 Members | 1,156 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,378 software developers and data experts.

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 2314
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
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...
1
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...
2
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...
6
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
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...
1
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...
4
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...
14
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...
4
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 =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.