Search update

60548 results
1

votes
2

answer

Update table values to database

What I have is a html based website and with rows out of the database. What I want: I want it to update the fields with 1 button, The problem I have right now that it will not update the right row. It will update the first in the database. I want it to update only the things that have been eddited...
murkmurrell
1

votes
1

answer

Clear or update redirect state

I'm currently pass data to new page by Redirect state from 'react-router-dom'. Here is my code: import {Redirect} from 'react-router-dom'; ... render() { return ; } ... And load data on new page /account/group successfully: ... constructor(props) { super() this.state = { data: props.location.state,...
rome 웃
1

votes
1

answer

em.Persist(book) wont update entity

I have a new JPA entity with auto-generated id and I persist it. After that I want to get it again, modify it and persist the changes. The new entity gets persisted into the database with an auto-generated id but the entity's bookid remains null. This way I cannot use the getBook(id) function to fin...
Croo
1

votes
0

answer

update security provider in Android

My application is developed using react native. I am kind of new to android and mobile development. Currently, I'm considering to add auto-update of security provider in Android as suggested in this link: https://developer.android.com/training/articles/security-gms-provider. From this link, they sug...
elson
1

votes
1

answer

Python SQLite - Update Not running

I'm running a python script to run a SQLite code, which is successful until I get a specific Update query (create, inserts, drops run successfully). Please note that this same code runs successfully in SQLiteExpert and when I run it in python there is no error message, the scripts simply does not pa...
1

votes
1

answer

Matlab: Update an excel sheet

I am using Matlab to read a workbook with a bunch of sheets in it. I do some calculation and have to update one particular column in one sheet. I tried using xlswrite after xlsread, it does not work. So, my code looks something like: [~,~,Data] = xlsread('MyFile.xlsx', 'MySheet'); Data(2:end-1,5) =...
Zanam
1

votes
1

answer

Gitlab with Docker won't update

I'm currently using Gitlab using Docker. The container is using the latest image for Gitlab, but the admin area shows me a different version. How can I use the latest one ? I don't understand why Gitlab shows me a different version of what I'm using. I tried gitlab-ctl upgrade command, with no effec...
cmizzi
1

votes
1

answer

Ubuntu18.04 - Anaconda navigator update issue

every time i open anaconda navigator 1.9.2 it asks me to update to 1.9.4 as it is available. However, when i try to update through the GUI I get 'conda multierror' as shown in this screenshot Anaconda-navigaor update error. I have also tried to run the update through the terminal but i receive seve...
VRscience
1

votes
2

answer

Updatepanel within an Update panel

I currently have an update panel within an Update panel. For example, I have a Master Page and everything inside the Master Page is within an updatepanel which I will name updatepanel1. The smaller update panel which is in an aspx page which uses the master page is called updatepanel2. However I ha...
Damienn
1

votes
2

answer

Mysql update query with condition

i have a table with content. The table structure is below. I want to update the table with some condition. I will try to update this but i can't am new for MySQL please help me.. My table structure : Emp_id Emp_Name Join_date confirm_date resign_date status con_status 001 arun 2011-0...
romi
1

votes
3

answer

update primary key in oracle

i have table. which has 5 columns in that 3 of the columns makes primary key combinations. table (cola, colb, colc, cold, cole) i want to update one of the column which is in primary key group. how to do that? its giving primary key constraint error.
Mohamed Saligh
1

votes
3

answer

SQL Update query product cart

ID ProductId MemberId SessionId CreatedOn Quantity 62 1 2 2012-09-11 1 63 2 2 2012-09-11 1 64 1 0 agzdeoqubwokfme05wwmne55 2012-09-11 1 65 3 0 agzdeoqubwokfme05wwmne55 2012-09-11...
keyur ajmera
1

votes
2

answer

update a VAR in javascript

How can I update the 'storage' var set in uploadify? I have this function set_path that updates the var combined to other values that is launched when some content is selected $(document).ready(function () { $('#uploader').uploadify({ 'uploader': '/admin/includes/uploadify/uploadify.swf', 'script':...
1

votes
2

answer

Edit and update same textbox

I have a database Table where I can edit a value. I want to update the same, below is the code that I have tried. The table code is as below DBID Query Raised Time Raised Query Answered Time Answered and the update query that is used is: String a = request.getParameter('Updat'); ps = con.prepareStat...
Rakesh
1

votes
0

answer

Update Multiple UpdatePanels using Javascript

I am trying to update multiple panels And I triggered it in javascript $(document).ready(function () { //$('#ContentPlaceHolder1_BoxContent_Button1').click(); __doPostBack('UpdatePanel1', 'Update-Both'); }); And the Backend code is protected void UpdatePanel1_Load(object sende...
want_to_be_calm
1

votes
1

answer

Update MySQL table from jsp

I have these in a jsp file. But these values are not updated in the mysql table. May be it is not commiting. How can i solve this ? String passc1 = request.getParameter('passc1'); String accid = request.getParameter('accid'); int i = 0; String sql = ' update customertb ' + ' set passwd = ?' + ' wher...
vishnu
1

votes
1

answer

PhoneGap: Notify on Javascript Update

Using this thread: PhoneGap for iPhone: problem loading external URL, I have modified my iOS PhoneGap application to immediately load an external HTML page when the application launches. On this HTML page, the user can press any of several Javascript buttons that perform some action, but do not tak...
Objc55
1

votes
2

answer

Protovis update data with Javascript

I have this script protovis : var w = 600; var h = 600; var img = new pv.Panel() .width(w) .height(h); img.add(pv.Image) .url('./icon/image.gif') .title('image'); img.add(pv.Dot) .data(data) .left(function(d) d[0] * w) .bottom(function(d) d[1] * h) .size(function(d) d[2] * 100) .fillStyle('rgba(30,...
strat
1

votes
1

answer

Update on flat file database

For just some fun i am trying to use Flat File databases to read some data.The file used is text file and plain text format. I did design it such that there is format of storing the data for example a user record like below. stackoverflow | 12345 | 12/12/2012 12:12:12 AM where the above data if of f...
Deeptechtons
1

votes
1

answer

Vim update plugins with errors

Now i update my .vimrc in Mac Osx but i have the next errors: Error detected while processing /Users/dmuino/.vimrc: line 59: E319: Sorry, the command is not available in this version: py
Diego
1

votes
1

answer

update key in nested object

I have a document that have another doc as value of 'basicInfo' field: { 'personId': '5b45b3700fdd1a14c9f', 'basicInfo': { 'name': 'dave', 'age': 25, 'personAddress': { 'city': 'los angeles', 'street': 'hollywood', 'streetNumber': 150, 'zipCode': 90210 }, 'active': true } } im trying to only update...
JohnBigs
1

votes
1

answer

Prototype Ajax Update Not Working

I am working with Prototype while using the pylons framework and trying to make an Ajax call. Here is what my html looks like: Select Relevant Tids 1 2 I can see that the my controller gets called and a http request gets made to /saffron_main/click_out_display. Everything looks like it is working pr...
Spencer
1

votes
1

answer

Xamarin Custom renderer update value

I've custom renderer in Xamarin and I wonder how to dynamically update its value. Here is my control in the main class: public class MainControl : View { public double A { get; set; } } Here is my custom renderer, defined in Android: [assembly: Xamarin.Forms.ExportRenderer(typeof(MainApplication.Mai...
random
1

votes
0

answer

UploadField reinitialised after DOM update

I have a form with an UploadField. We submitted via ajax and then on completion the form is returned from the backend and added back into the page without a page reload. This works fine however we now are moving to ES6 (from ES5) with webpack and while the form is replaced, the UploadField isn't rei...
Rudiger
1

votes
1

answer

Update SCNPhysicsBody when scaling SCNNode

I know that SCNPhysicsBody dont scale when the node scale, but I haven't found a great solution to fix this. I want to scale the node and then update the SCNPhysicsBody to node after scaling it. let box = SCNBox(width: 0.2, height: 0.3, length: 0.4, chamferRadius: 0.1) box.firstMaterial?.diffuse.co...
Magnus T
1

votes
1

answer

Java JFrame Update Not Working

I need some real help with my Java project. It's a console controlled JFrame, where the commands you type in the console SHOULD react to the JFrame window, only it doesn't. This is a big problem. Here's my code (Engine.java): package com.boldchicky.commandsrpg.Main; import java.io.*; public class En...
TheBestBestMan123
1

votes
2

answer

Detect update in observable prop

I have a component that has an observable as property: class Store { @observable color = 'red' } const store = new Store(); @observer class MyComponent extends React.Component { componentWillReceiveProps(nextProps) { // Not called! console.log('Component will receive props', nextProps.store.colo...
Christopher Chiche
1

votes
2

answer

sequentially update rows in data.table

I have a very big dataset and I would like to perform the following computation in R using data.table: library(data.table) # This is a test dataset tempData = tempData[i-1,enddt]) { tempData[i, enddt:= startdt + daysupp] } else { tempData[i, enddt:= tempData[i-1,enddt] + daysupp] } } This computatio...
mammask
1

votes
1

answer

Update gramm plot matlab crashing

I have a MATLAB GUI that calls an external function to make a plot (make_ethogram_plot). The idea would be to have an external figure that is constantly updated with the output value from the figure. Every time the data gets updated it should replot the values, it updates at ~10 Hz. I chose gramm (h...
Matias Andina
1

votes
1

answer

Update router in Angular 2

I'm new in Angular and npm. Today I trying update router in Angular2 from 2.0.0-rc.1 to 3.0.0-alpha.3. For this, I change version router in root file package.json on '@angular/router': '3.0.0-alpha.3' and make command 'npm update'. Files in @angular/router were changed, but now console in browser s...
Vincent_
1

votes
2

answer

Why don't my views update?

I'm new to Ruby on Rails and am creating a test application. So far, it's working, but when I make some minor changes to my views, the page doesn't change. My problem may be related to this question, but I'm not sure what is meant by setting the date and time in the VM. My code is on a remotely host...
Nathan Long
1

votes
2

answer

Django model update on fetch

My model has a field that should change if it's within a date range. It would look like this: class Election(models.Model) start_date = models.DateTimeField(verbose_name = 'Start Date') end_date = models.DateTimeField(verbose_name = 'End date') active = models.BooleanField(default=False) def updateA...
Pabs
1

votes
1

answer

SharePoint ProcessBatchData Update: nativehr 0x80070057

Annoying and unhelpful error: 0x80070057 when running SPWeb.ProcessBatchUpdate...no inner exception or anything else useful. Here is the XMl that is being sent: 9efe6671-d8e1-4da5-9b59-3404e57e7347 Save 1 OK I have checked out this link: http://msdn.microsoft.com/en-us/library/cc404818(v=office.12)....
Matt
1

votes
1

answer

MySQL case-sensitive update statement

Let's say you want to update a table Person that looks like this: Name | Address | Age You write the query: UPDATE Person SET Name='Tom' WHERE Name='Thomas'. Is the WHERE clause in this query case-sensitive? That is, would it update rows with names of thomas and THOMAS? (I'm working with MySQL Ver 1...
ktm5124
1

votes
1

answer

Dynamically update fields in django

When I create new sesid in session I need all the courses to add to the sesid in Registration model. I am creating a result management system using django. What I want to do is to create a session (it is done) then automatically, all the courses from course model will be in the session model ( I don...
Ibrahim
1

votes
1

answer

C++ WinAPI TextOut() update text

So I'm creating a Windows application with WinAPI, and I'm using the TextOut() function while handling WM_PAINT in order to write text on the window. case WM_PAINT: { PAINTSTRUCT ps; HDC hdc; hdc = BeginPaint(hwnd,&ps); SelectObject(hdc,hfDefault); TextOut(hdc,10,70,'Points: 0',9); TextOut(hdc,10,85...
yop
1

votes
1

answer

LINQ update on joined collections

How do I use LINQ to update objects in one list from objects in a second list? My question is very similar to LINQ In Line Property Update During Join except that, in my case, the second list is smaller than the parent list. In other words, I want to update those members of the master collection tha...
Sisiutl
1

votes
2

answer

Real Time Update Performance Issue

I have created a MEAN stack app, where on the web page these is a dashboard icon that changes colour, as it get real time updates from the back end data base. To achieve this i have used socket.io. The client side code is written below. var socket = io(); setInterval(myfunction, 9000); function myfu...
user5740953
1

votes
3

answer

clojure.java.jdbc update where id in

I am trying to do a simple update statement on Oracle DB using clojure.java.jdbc. (sql/db-do-prepared db 'update table_name set active = 1 where id in (?)' ['one' 'two']) but I am getting: java.sql.SQLException: Invalid column index I am sure that all datatypes are correct. It looks like that kind o...
r00tt
1

votes
2

answer

Worklight Direct Update keeps executing

I have a Hybrid application running WL 6.2 on my iPhone 5 (ios 8.1). When I launch the application it starts the UPDATE process as might be expected. However, it does this EVERY time I launch the app - even though I haven't updated anything on the server. When I loaded the .wlapp file and the WL con...
user3530200