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


Posted on 2011-02-19
Last Modified: 2012-05-11
Please reference the attached files used in conjunction with an access data base.   I have two pages "Home1" and "Home2".     The Hyperlink located on "Home1" directs perfectly to "Home2".   I am able to edit and update
correctly on "Home1".    However, when EDIT and Update on "Home2" is used it does update but is updating the
entire data base row leaving blank information for that row deleting previous data.   With the filter applied  to "Home1"  displaying only open items in the status row,  it no longer displays when returning home.  

How can I edit page 2 or "Home2" without impacting the entire data set row after update?  
Question by:BOEING39
LVL 41

Accepted Solution

guru_sami earned 500 total points
ID: 34938399
If you just want to update Reason2 and Parts then adjust your UpdateCommand and UpdateParamters on home2 to use only the fields that needs to updated.

UpdateCommand="UPDATE [AOS] SET [Reason1] = ?, [Reason2] = ?, [Parts] =? WHERE [ID] = ?"

<asp:parameter Name="Reason2" Type="String" />
<asp:parameter Name="Parts" Type="String" />
<asp:parameter Name="ID" Type="Int32" />

Open in new window


Author Closing Comment

ID: 34940219
Thx I worked that out with your help.  I ended up using detail view instead on form2 as it was more useful presented that way.  Thank You

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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