SetProperty on OData model - update multiple entities before submitChanges on batch
I have a list in my application:
This data is bound to an OData model.
If I perfrom call I can retrieve the data fod the "fridge" item:I can retieve the OData for item 456.
this.getView().getModel().getProperty("/Items(BookingId='123',ItemId='Fridge')")
Therefore I can set the couonter like this:
this.getView().getModel().setProperty("/Items(BookingId='123',ItemId='Fridge')"+"/ItemCount", 6)
But once I have done this "SetProperty" call I am now unable to set any other properties on any of the other items!
What I want is to be able to change as many items as I like and then on SAVE do a batch OData PUT to update the values in the backend.
If I'm honest what I really want is to be able to do a DEEP INSERT into my OData provider, which contains a Booking, with nested sub-items..
Booking 1:m Items
How can I do this whilst also using the "setProperty" method?
setProperty is great in regards to if I make changes and then hit "CANCEL" I can call "resetChanges" to undo any changes.. but at the moment I can only change ONE of these counters before commiting my changes...
Surely this must be a common requirement, to make many changes in the front-end to multiple entities and then POST/PUT them all at once?
Thank you for any advice
A seemingly bug in SAPUI5 ODataModel setProperty() funtion
Similar Messages
-
Updating Multiple entities Programmatically in LightSwitch Html Client 2013
hi,
How to Update Multiple entities When Updating One entity in Server Side ?
Thanks in Advance...You'll probably need to give a little more information about your particular scenario but if you're doing this update server side using the updating method of your entity then you have access to do what you like with any record/entity.
If the entities are related then it may just be a case of a statement like:
YourEntity.YourRelatedEntity.SomeProperty = "Hello world.";
Or you could call a entity specifically from another table and update it accordingly:
AnotherTable ent = DataWorkspace.ApplicationData.AnotherTable.Where(r => r.id == 5).FirstOrDefault();
if (ent != null)
ent.Description = "Hello World.";
Hope that helps you.
Paul. -
ECMA/CSOM script to update multiple list items
i am trying update multiple list items using CSOM/ECMA script but it updates only first record. can help out .how to update multiple list item records
Note(sharepoint hosted APP) only client side coding solution
function updateListItems() {
var itemArray = [];
var clientContext = SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('TestList');
for(var i = 1; i<= 5; i++){
var oListItem = oList.getItemById(i);
oListItem.set_item('Title', 'My Updated Item!' + i);
oListItem.update();
itemArray[i] = oListItem;
clientContext.load(itemArray[i]);
clientContext.executeQueryAsync(onQuerySucceeded, onQueryFailed);
function onQuerySucceeded() {
alert('Items Updated');
function onQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
updateListItems();Have a look at the following link for your reference
https://social.msdn.microsoft.com/Forums/office/en-US/fc91b7b5-6300-4302-af93-4fc697131ec5/client-object-model-update-multiple-list-items?forum=sharepointdevelopment
You can modify CAML query to fetch rows that you want to fetch.
Geetanjali Arora | My blogs | -
Model update validation in between wizard-style pages before commit
Dear All,
We have a number of wizard-style pages (generated by JHeadstart). We navigate between pages using a <af:singlestepbuttonbar> control. We'd like to be able to validate model updates when navigating (next) from one
page to the next, rather than having to wait till the Commit action on the last page.
The model validations should only be performed for model updates that are relevant for the current page being navigated from.
Any suggestions on how we can achieve this would highly be appreciated.
Kind regards,
Ibrahimhi Ibrahim (user617110)
Since you say you are using JHeadstart, maybe you can get a better answer in this forum
JHeadstart
(tip : You can use "Your Control Panel" to make your name visible in forum posts.)
success
Jan Vervecken -
Comparing fields from multiple entities in the same report (report builder 1.0)
Created a model that contains 2 entities. I open that model in report builder 1.0. When I drag a field from one of the entities into the design area, i can no longer see the other entity or use any of the fields from that other entity.
I need to use fields from both entities in the same report (join tables). In management studio i would simply write a query and join tables but i cannot figure out how to do this in report builder. Once i select a field from one entity
how do i select fields from more than one entity and drag them into the same report.Would it be possible for you to send me instructions for this? I am not that familiar with SQL coding but I can definitely figure it out. I have been wanting to get information on reports from multiple entities for a very long time! The only way I can
currently do it is have our document management software people write the report for me for quite a large fee. I would much rather do this myself. Right now I can select a few fields from one entity (the main one), some from a second entity under that one,
but I cannot add any fields from a third entity! Quite annoying and hindering! Thank you :) -
How do you update multiple items in a JSP that are only checked...
I have list of items in my jsp pages and that are being generated by the following code
and I want to be able to update multiple records that have a checkbox checked:
I have a method to update the status and employee name that uses hibernate that takes the taskID
as a paratmeter to update associated status and comments, but my issue is how to do it with multiple records:
private void updateTaskList(Long taskId, String status, String comments) {
TaskList taskList = (TaskList) HibernateUtil.getSessionFactory()
.getCurrentSession().load(TaskList.class, personId);
taskList.setStatus(status);
taskList.setComment(comments);
HibernateUtil.getSessionFactory().getCurrentSession().update(taskList);
HibernateUtil.getSessionFactory().getCurrentSession().save(taskList);
<table border="0" cellpadding="2" cellspacing="2" width="98%" class="border">
<tr align="left">
<th></th>
<th>Employee Name</th>
<th>Status</th>
<th>Comment</th>
</tr>
<%
List result = (List) request.getAttribute("result");
%>
<%
for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
com.dao.hibernate.TaskList taskList = (com.dao.hibernate.TaskList)itr.next();
%>
<tr>
<td> <input type="checkbox" name="taskID" value=""> </td>
<td>
<%=taskList.empName()%> </td>
<td>
<select value="Status">
<option value="<%=taskList.getStatus()%>"><%=taskList.getStatus()%></option>
<option value="New">New</option>
<option value="Fixed">Fixed</option>
<option value="Closed">Closed</option>
</select>
</td>
<td>
<input type="text" name="Comments" MAXLENGTH="20" size="20"
value="<%=taskList.getComments()%>"></td>
</tr>
<%}%>
_________________________________________________________________org.hibernate.exception.GenericJDBCException: could not load an entity: [com.dao.hibernate.WorkList#2486]
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
org.hibernate.loader.Loader.loadEntity(Loader.java:1799)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:161)
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:889)
org.hibernate.impl.SessionImpl.load(SessionImpl.java:808)
org.hibernate.impl.SessionImpl.load(SessionImpl.java:801)
com.web.UpdateWorkListAction.execute(Unknown Source)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
before I was running a single update as below and it worked fine:
session.beginTransaction();
int taskId = Integer.parseInt(request.getParameter("taskId"));
String action_taken = request.getParameter("action_taken");
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, new Integer(taskId));
worklistErrors.setAction_taken(action_taken);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
but when I try an an update on multiple records it does work when I have a check box checked :
session.beginTransaction();
int taskId = Integer.parseInt(request.getParameter("taskId"));
String action_taken = request.getParameter("action_taken");
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, new Integer(taskId));
worklistErrors.setAction_taken(action_taken);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
session.beginTransaction();
String[] tickedTaskId = request.getParameterValues("tickedTaskId");
String[] taskId = request.getParameterValues("taskId");
String[] action_taken = request.getParameterValues("action_taken");
for(int i=0; i<tickedTaskId.length; i++) {
for(int j = 0; j < taskId.length; j++) {
if(tickedTaskId.equals(taskId[j])) {
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, tickedTaskId[i]);
worklistErrors.setAction_taken(action_taken[j]);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
/*Close session */
session.close(); -
I want to update multiple record in database which is based on condition
hi all,
I am using Jdev 11.1.2.1.0
I have one table named(Pay_apply_det) in this table i want to update one column named(Hierarchy) every time and according to change i want to update or i want to maintain my log table named(pay_apply_appr).It based on level wise approval when the lowest person approve the record show on next level but if the second
level person back it will be show only previous level hierarchy.And when the final approval happen the Posting_tag column of pay_apply_det will be updated too with hierarchy column.
i have drag pay_apply_det's data control as a table in my .jsf page and add one column approve status in UI .in the approve status i used radio group which return A for approve B for back R for reject through value binding i make it get or set method in it baking bean.
in backing bean class i have written code
public void approveMethod(ActionEvent actionEvent) {
ViewObject v9=new UtilClass().getView("PayApplyDetView1Iterator");
int h5=0;
Row rw9= v9.getCurrentRow();
String x=(String) rw9.getAttribute("RemarkNew1");
System.out.println(x);
String z=getR2();
System.out.println(z);
if(( z.equals("R") || z.equals("B") )&& x==null)
FacesMessage fm1 = new FacesMessage("Plz Insert Remark Feild");
fm1.setSeverity(FacesMessage.SEVERITY_INFO);
FacesContext context1 = FacesContext.getCurrentInstance();
context1.addMessage(null, fm1);
else{
ADFContext.getCurrent().getSessionScope().put("Radio",getR2().toString());
String LogValue=(String)ADFContext.getCurrent().getSessionScope().get("logid");
ViewObject voH=new UtilClass().getView("PayEmpTaskDeptView1Iterator");
voH.setWhereClause("task_cd='449' and subtask_cd='01' and empcd='"+LogValue+"'");
voH.executeQuery();
Row row1= voH.first();
int h1=(Integer)row1.getAttribute("Hierarchy");
System.out.println("Login Person Hierarchy on save button press.."+h1);
ViewObject vo9=new UtilClass().getView("PayApplyDetView1Iterator");
Row row9= vo9.getCurrentRow();
if(getR2().equals("A")&& h1!=1)
row9.setAttribute ("ApprHier",h1);
row9.setAttribute("IsClaimed","N");
row9.setAttribute("ClaimedBy",null);
row9.setAttribute("ClaimedOn", null);
else if(getR2().equals("B") ) {
ViewObject voO=new UtilClass().getView("LoHierViewObj1Iterator");
voO.setNamedWhereClauseParam("QHVO", LogValue);
Row rowO = voO.first();
h5=(Integer)rowO.getAttribute("LPrehier");
System.out.println("Back lower hier..."+h5);
row9.setAttribute ("ApprHier",h5);
row9.setAttribute("IsClaimed","N");
row9.setAttribute("ClaimedBy",null);
row9.setAttribute("ClaimedOn", null);
else if((h1==1) &&(getR2().equals("A")) )
row9.setAttribute ("PostingTag","Y");
row9. setAttribute ("ApprHier", h1);
row9.setAttribute("IsClaimed","N");
row9.setAttribute("ClaimedBy",null);
row9.setAttribute("ClaimedOn", null);
else if(getR2().equals("R"))
row9.setAttribute ("ApprHier",-1);
row9.setAttribute("IsClaimed","N");
row9.setAttribute("ClaimedBy",null);
row9.setAttribute("ClaimedOn", null);
BindingContext BC=BindingContext.getCurrent();
BindingContainer ac=BC.getCurrentBindingsEntry();
OperationBinding ob=ac.getOperationBinding("Commit");
ob.execute();
vo9.executeQuery();
FacesMessage fm = new FacesMessage("Your Data Successfully Commited..");
fm.setSeverity(FacesMessage.SEVERITY_INFO);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);
}here i put my approve status radio value in session variable because i also want to update my pay_apply_appr table which code i written in pay_apply_det IMPL class.
Every thing is running well when i update single record but when i want to update multiple record then my current row only updated in pay_apply_det but log table( pay_apply_appr) created for all record.
so is there any solution plz help me.
thanks
RAFATHi Rafat,
If you are able to insert into, all you need to do is iterate through the rows. For this , before the first IF condition
if(getR2().equals("A")&& h1!=1)Get the row count using int numRows =vo9.getRowCount(); , and then write it before the IF condition
if (int i=0;i<numRows;i++} After
row9.setAttribute("ClaimedOn", null);
}write vo9.next(); to iterate to next row,
Hope this will work.
Nigel. -
i tunes will not update it says before i open itunes it wasent installed correctly but i dont want to lose everything i have how do i fix this?
It looks like you may have to reinstall itunes.
There are multiple things you should uninstall (and in a certain order) according to apple.
Also, even thought your music and itunes library information should not be affected in the uninstall, I would strongly recomend backing it up. Go to where you keep your music files and make sure you back up everything in the folders "itunes" and "itunes music".
The directions for the reinstall are here: http://support.apple.com/kb/HT1925 They include what to uninstall and in what order. This is for itunes 9 and earlier, but I think it is the same for itunes 10. -
How to Update multiple items in other list using event handler?
Hi All,
If i update a item in a list, then i should update multiple items in another list need to be update. How to achive using event receivers?Hi Sam,
According to your description, my understanding is that you want to update multiple items in another list when updated a list item.
In the event receiver, you can update the multiple item using Client Object Model.
Here is a code snippet for your reference:
public override void ItemUpdated(SPItemEventProperties properties)
string siteUrl = "http://sp2013sps/sites/test/";
ClientContext clientContext = new ClientContext(siteUrl);
List oList = clientContext.Web.Lists.GetByTitle("another list name");
ListItem oListItem = oList.GetItemById(1);
oListItem["Title"] = "Hello World Updated!";
oListItem.Update();
clientContext.ExecuteQuery();
Best regards,<o:p></o:p>
Zhengyu Guo
Zhengyu Guo
TechNet Community Support -
Set filter criteria on page 1 for page 2 OData model - "best practice"?
Hello, I have a problem with an app - where I want to filter data on a second page, based on settings from the first page. I use an OData model.
The collections on both pages are not related in terms of "navigation" properties, that is my problem and I can not change the data source...
So I am looking for ideas/best practices to solve this because sometimes my filtering doesn't work... the following problem occurred: Request aborted
I have a page with a sap.m List with items="{/tabWorkPlace}" and and a local JSON model where I store relevant data during the app lifecycle.
handleListSelect - first page
var context = evt.getParameter("listItem").getBindingContext();
var dataModel = sap.ui.getCore().getModel("dataModel");
var workplace = context.getProperty("WORKPLACE_ID");
dataModel.setProperty("/WORKPLACE_ID", workplace);
this.nav.to("SubMaster", context);
The general App.controller.js handles the nav.to function:
var app = this.getView().app;
var page = app.getPage(pageId);
if(pageId == "secondPage") {
page.getController().filterData();
And the controller of the second page:
filterData: function() {
var oModel = sap.ui.getCore().getModel("odata");
var dataModel = sap.ui.getCore().getModel("dataModel");
var workplace = dataModel.getProperty("/WORKPLACE_ID");
var items = this.getView().byId("list");
var oFilter=new sap.ui.model.Filter("WORKPLACE_ID",sap.ui.model.FilterOperator.EQ,workplace);
items.getBinding("items").filter(oFilter);
I don't write this code into the onInit() or beforeRendering() function, because they are called only once and I am navigating back and forth between the two pages, because the pages are created only once and "just" the data is changed.
The desired page looks like this - with an other collection bound to it:
<List
id="list"
select="handleListSelect"
items="{/tabWorkstep_Status}"
>
But when I call it - then the request gets aborted:
The following problem occurred: Request aborted
But despite the fact the Request is aborted, the list on the second page is filtered!
The filter criteria for the model works when I type it into the browser with URL. Maybe this fails because the data binding for the list didn't took place at this phase?
I have this pattern (filter criteria on one page and result on the second page) more times - (and I think a better data model would be better with navigation properties would be better, but I cannot change it)
But at another constellation the filtering doesn't work - same error... the following problem occurred: Request aborted
I also don't want to change the pattern (page 1 to page 2) into popup lists or this fancy new filtering possibilities because it is not suitable for my use case.
Is there maybe a more elegant solution - because sometimes filtering works, sometimes don't..., do I have an error in my solution (general approach)?
Many thanks for any input!
BR,
DeniseHello, yeah you are right, but it works without the odata> stuff because of this in App.controller.js:
var uri = "http://localhost:32006/JsonOdataService.svc";
var oModelMS = new sap.ui.model.odata.ODataModel(uri);
sap.ui.getCore().setModel(oModelMS, "odata");
oView.setModel(oModelMS);
So my question is - how to navigate from one page to another - and on the other page first bind a collection to a select and then when selecting bind certain elements (a textfield) to the selected filtered entity.
The stuff with context and binding won't work, because the two Collections don't have a navigation/association property between them...
So for example:
page1
select a list item with property color: red and year 1985. Press one of the buttons and pass this criteria to another page.
page 2:
show a dropdown box with all car names which fullfill this criteria, and when one car is selected, then display the data for THIS car in several text fields.
This is not a master->detail navigation example, because on page 1 i select certain criterias, and then with buttons I navigate to several pages with those criterias.
But since the OData model has no relationships it is really hard to do it manually... With a dummy mock.json like in DJ Adams Fiori like SAPUI5 apps it is no problem... But with OData and no things related to each other it is hard... -
Hi,
Im having issues with updating multiple records.
This query selects users in a specific unit that are inactive (ui.nf_statusid = 2) and compare it newsmail_recipient table
select *
from roleuser ru, unit u, userinfo ui
where u.ip_unitid = ru.nf_unitid
and u.ip_unitid = unit_id
and ui.ip_userid = ru.nf_userid
and ui.nf_statusid = 2
and n_internal = 0
and ui.ip_userid in (select user_id
from newsmail_recipient
where user_id = ui.ip_userid
and nf_listid = liste
and nf_statusid = 1;the second script will set the users to inactive in newsmail_recipient that are inactive in the userinfo table.
update newsmail_recipient
set nf_statusid = 2
, d_modified = sysdate
where user_id = ui.ip_userid;I would like to know if its possible to merge this query. I know its possible for insert but havent tried update before.
This is how i do it, but its not working.
case when (select *
from roleuser ru, unit u, userinfo ui
where u.ip_unitid = ru.nf_unitid
and u.ip_unitid = unit_id
and ui.ip_userid = ru.nf_userid
and ui.nf_statusid = 2
and n_internal = 0
and ui.ip_userid in (select user_id
from newsmail_recipient
where user_id = ui.ip_userid
and nf_listid = liste
and nf_statusid = 1)
then update newsmail_recipient
set nf_statusid = 2
, d_modified = sysdate
where user_id = ui.ip_userid;
end;thanks guys...
regards,
jTable structure:
newsmail_recipient:
IP_RECIPIENTID NUMBER(8,0)
NF_LISTID NUMBER(8,0)
NF_STATUSID NUMBER(8,0)
D_CREATED DATE
D_MODIFIED DATE
C_NAME VARCHAR2(100 CHAR)
C_EMAIL VARCHAR2(256 CHAR)
USER_ID NUMBER(10,0)
NEWSMAIL_ID NUMBER(10,0)userinfo:
IP_USERID NUMBER(10,0)
NF_STATUSID NUMBER(10,0)
N_INTERNAL NUMBER(1,0)@jeenesh:
I tried your query but i get this error:
Error(510,30): PL/SQL: ORA-00904: "UI"."IP_USERID": invalid identifierJust wondering why, but ui.ip_userid is declared.
Actually, this is a package script.
procedure edit_recipient_to_newsmaillist(unit_id IN NUMBER)
as
liste number;
--Finner alle toppfoldere til de lukkede brukergruppene som uniten har tilgang til
cursor closed_user_group is
select element_id
from admin_unit_content_access
where group_id = 97
and accesstype_classification_id in( select classification_id
from dynamic_field_value
where key = 'closed_user_group'
and dynamic_field_grouping_id = (select dynamic_field_grouping_id
from unit
where ip_unitid = unit_id))
and element_type = 'f';
begin
--Finner hvilken liste folderen tilh�rer
for u in closed_user_group loop
if (u.element_id = 39464) then
liste := 2017; --AMG
elsif (u.element_id = 36664) then
liste := 2018; --Das wird meiner
elsif (u.element_id = 34011) then
liste := 2019; --Junge sterne
elsif (u.element_id = 68359) then
liste := 2020; --Service vorteilskarte
elsif (u.element_id = 1030675) then
liste := 2021; --TGC
elsif (u.element_id = 41741) then
liste := 2022; --Truckworks
elsif (u.element_id = 118659) then
liste := 2481; --CRM
elsif (u.element_id = 122982) then
liste := 2479; --Vitoecell
else
liste := 2037; --Sneak Drive
end if;
--oppdater til brukerene i den uniten i listen
merge into newsmail_recipient nm
using
(select *
from roleuser ru, unit u, userinfo ui
where u.ip_unitid = ru.nf_unitid
and u.ip_unitid = unit_id
and ui.ip_userid = ru.nf_userid
and ui.nf_statusid = 2
and n_internal = 0)
on (nm.user_id = ui.ip_userid)
when matched then
update set nm.nf_statusid = 2,
nm.d_modified = sysdate;
liste := 0;
end loop;
end edit_recipient_to_newsmaillist;
-
Edit and update multiple records in JSP buisness components
Hi everybody,
I'm building BC4J components using entities and views and JSP buisness components.
how can I edit and update multiple records
at a time in the jsp file
Note using the databean
"oracle.jbo.html.databeans.EditCurrentRecord"
one can view one record at a time
thank youdo you have a sample code? thanks
Hi
There are several options. One of them could be
1) use <input name=rc[j] value="..."> instead of
display a raw text
2) parse parameters in doPost method of your servlet
to update appropriate values.
3) Make a empty row enable inserts
Regards
Jan -
Hi !
I'm a OPA beginner, and I've tried to create multiple entities in different levels
I've tried but I got not get it to compile.
I wonder if the following is possible and appropriate in OPA:
1. The parent is global with a relationship to the child
2. The child is an entity with a relationship to the parent (and the child's pet?)
3. The child's pet is an entity with a relationship to the child
So far I've only seen solutions regarding several entitys but at the same level such as:
1. The parent is global with a relationship to the car
2 The car is an entity with a relationship to the parent
3. The tie is an entity with a relationship to the parent
Many thank's in advance !
BoHi Bo,
Yes, this is definitely something that OPA is well suited to.
If you create a new project in OPM and add a new properties file. Create an entity called 'the child' and an entity called 'the pet'. Assuming you use the default Global entity as the Parent, then you will be able to define relationships between the three entities in the manner you described.
Once you have, you can chose View -> Data Model from the OPM tool bar and look at your entity structure.
Cheers,
P. -
Update multiple records on one page
I have a page that displays records based on a varible that
is selected on
the previous page.
So on this page i have displaying 3 columns
Store # Allowance Total
They have asked now instead of clicking on each indivual
record to mark it
as completed, they would like to just place a check next to
each one and let
it update those records for that store....
Ex.
Store 20 has a total of 7 records and has an allowance of
$6000.00 then
they would place 1 check mark next to that store and hit
submit and it would
update all 7 records with a status of completed.
I have read thru some not all but some of the example links i
found for
updating multiple records. But they seem more complex than
what im trying to
do. Since this page is populated dynamically how can i code
it so it
understands when there is new stores listed and records.
Is there any links or tutorial that anyone would recommend
that will explain
the process for creating this functionality?My bad....
ASP and Access is what im using DWMX
"bregent" <[email protected]> wrote in
message
news:ei5srh$6uv$[email protected]..
> What scripting model are you using? You may be able to
find a datagrid for
> your model which will simplify this for you. -
Update multiple records from a list
Just trying to find some tutorials on how to update multiple
records from 1
page of checkboxes
easiest example is hotmail
i would like to be able to give my clients the ability to
delete or update
multiple records from 1 page... mind you that this type of
update woudl only
be for simple status changes, flags that need to be changed
and so on...
Delete... well if they made it to this page they are already
sure and have
been warned that they are going to delete the records..
where can i find such a tutorial on how to complete multiple
record updates
or deletes from 1 form...
thanksServer model and software below.
And hotmail has nothing to do with anything.. its an example
of what i would
like to be able to do...
If you log into hotmail. you have the option to check all the
emails you
want to delete.
well thats what i want to do with my clients sites...
Each record would have its own checkbox, they select the
records they want
to delete or update and they hit submit to process there
request.
Using ASP, SQL2005 and DW8
"bregent" <[email protected]> wrote in
message
news:f21upb$nop$[email protected]..
> >Just trying to find some tutorials on how to update
multiple records from
> >1
>>page of checkboxes
>
> What server model?
>
>>easiest example is hotmail
>
> What does hotmail have to do with this.
Maybe you are looking for
-
Update Sale Order Header Text through Enhancement
Hi Experts, I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved. Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save
-
How do I get Apple to stop sending me email?
I know this isn't the right forum for this question, but I didn't see one that seemed relevant. My first question is regarding these discussion boards. I posted a question here (in the Using iPod Shuffle area) and since then, I am getting an email ev
-
Viewing Page Transitions - Bottom of one page, Top of next
Greetings, Using Acrobat 6 in XP and I've got myself so agitated that I can't see straight. I'm trying to review a PDF document and sometimes I need to be able to see the bottom of one page and the top of the next at the same time. Acrobat gets me do
-
MacBook is starting to shut down after 5 minutes.
My MacBook has just started to shut down after 5-10 minutes. The computer still holds a charge, and the battery Percentage says that it's full, so I dont know what's going on.
-
Opmnctl , http_server timeout
Hello, i faced this issue after i installed BI Discoverer 10.1.2.0 into Windows Server 2003. When i type opmnctl startall, the error shows that process timeout for http_server Error --> Process (pid=4652) time out while waiting for a managed process