Search update

60548 results
2

votes
2

answer

Update Clob column in Oracle

I have an table with name ABC which has CLOB data. I want to update the column to insert string in specific position in this Clob column. String to be inserted : Clob Data : Position to be inserted : Just Before
Aditya
2

votes
2

answer

Android React Native update error

I've released a native android app on Google Play. Then I published (in beta mode) a new apk with higher version code that build with React Native. If my device has installed the old version (native app) and I pressed update the app on Play Store, it throws error -504 while installing. What is the p...
Nguyen Hoang Lam
12

votes
3

answer

cannot update record, get stuck

i have an issue with my current database with mysql. i have over 100 connection waiting on a select record. when i execute: show processlist; the select query is a big query and the others are smaler queries and inserts, updates. i have one database with 100 tables and the select is using 5 joins....
mario bros
2

votes
2

answer

VB6 ADODB Record Set Update

So I'm pretty new to Visual Basic and inherited this VB6 code that i need to work on now. Right now, I'm trying to update a SQL database using an ADODB.RecordSet. I have a Select SQL statement that pulls the right data from the database into the ADODB.RecordSet, but I'm having problems updating al...
gdawgrancid
1

votes
3

answer

How to update parent's state?

I am new to react and trying to update parent's state but no luck so far. Component class InputBox extends Component { constructor(props) { super(props); this.type = props.type; } render() { return ( ); } } Other container where I want to use this component to toggle password constructor(props) { su...
userNotHere
66

votes
4

answer

update listview dynamically with adapter

This tutorial uses a SimpleAdapter which works fine, but I need to update the arrays in the adapter when new data is entered. Could you please guide me on how to update a ListView using something other than a SimpleAdapter?
dell116
25

votes
5

answer

Django Rest Framework partial update

I'm trying to implement partial_update with Django Rest Framework but I need some clarification because I'm stuck. Why do we need to specify partial=True? In my understanding, we could easily update Demo object inside of partial_update method. What is the purpose of this? What is inside of serialize...
intelis
6

votes
1

answer

Update React state via Socket.io

My React component uses data from socket.io as it's state. I am unsure how to just update the state when the data is updated without re-rendering the entire component. Example code. var socket = io(); var data = { components: [{key: '',name: '',markup: ''}] }; socket.on('data', function(_) { data =...
Brian Douglas
4

votes
3

answer

Alexa Skill - Update Intent programmatically

I'm trying to create an Alexa skill which has a fairly wide-open possible number of phrases it could use. Too many to write by hand. I can probably generate the list programmatically, but it changes frequently, so I'd want it updated frequently. Is there an Amazon API I can call to update the possib...
samanime
8

votes
3

answer

Update Java code during runtime

about a year ago I stumbled across a nice feature in Java that I cannot for the life of me find again. Through some magic interface it was apparently possible to declare some classes or functions replaceable during runtime. I found a nice example guide of someone who ran a simple little program that...
Glader
2

votes
1

answer

Can't update calabash server version

Having a problem updating the Calabash server version. The problem is that I can run basic tests that check for elements... However, once I try to 'touch' buttons calabash returns RuntimeError: Could not parse response ''; the app has probably crashed The origin of the problem, I believe, is that m...
YKa
2

votes
2

answer

Update section of static UITableView

I hope someone can help... I've setup a static UITableView Controller with four sections. The top two sections are for inputting data. The third section has 1 cell and contains a save button. The final section has 6 cells and I want to be able to populate these six cells with the data from the first...
Strikeforce
3

votes
1

answer

Update component when prop changes

How do I force a component to re-render when a prop changes? Say I have a component which holds: And I have my data object like so: data() { return { layoutSetting: 'large' } }, Then with a click on a button i would like to change the settings of the prop passed, and the component should re-render...
hauge
2

votes
1

answer

Update Cart With Jquery / Ajax

I've just build shopping cart here The add to cart button work perfectly adding the product to the cart without refreshing the entire page. My question is, how to make the basket update the content after hit the add to cart link without refresh the pages I have code to handle adding a product to t...
user1737982
1

votes
2

answer

SQL Update hangs Java program

I'm writing a combination Java/Perl program that parses XML files into an Oracle SQL database. There are two tables in the database - one that holds the data from the XML files and another that holds information about the files themselves (file name, creation time, etc.). Basically, when a new XML f...
ryantmer
2

votes
3

answer

Update JProgressBar from new Thread

How can I update the JProgressBar.setValue(int) from another thread? My secondary goal is do it in the least amount of classes possible. Here is the code I have right now: // Part of the main class.... pp.addActionListener( new ActionListener(){ public void actionPerformed(ActionEvent event){ new Th...
Dacto
7

votes
1

answer

How to update Subversion externals

We have several subversion repositories: one for common code and one for each top level project. The top level projects have a svn:external link to the trunk of the common repository. Before we build a release of a project we create a branch of the top level project and also create a parallel branc...
David Moorhouse
3

votes
6

answer

Update MySQL table with foreach()

When I try and update my table instead of incrementing over the array of urls, what is printed to the table is just the last entry in the url array. When I echo the $url I can tell it loops through the array properly. When I echo $currentId is increments properly. Why doesn't the query enter each $...
user1155445
1

votes
5

answer

Duplicate error on update mysql

I have a table with multiple rows. Some have field request_path with characters like .html.html and others with different characters. I want to remove all .html.html and make them single .html. I am trying the below command - UPDATE url_rewrite SET request_path = CONCAT(LEFT(request_path, CHAR_LEN...
LAW
3

votes
3

answer

Update random top 50 rows

I want to update 50 rows in my table to the current date. I know how to select 50 random results but I don't know how to update them. This is what I have for the Select code: SELECT TOP 50[ID] ,[Message] ,[Date] ,[Type] ,[Username] FROM [database].[dbo].[dbTable] ORDER BY NEWID() If i'm correct, thi...
MCollard
4

votes
1

answer

Checkboxes in treeview update slowly

I implemented a cutom model for treeview for having checkboxes inside the treeview. If I check a parent node all child nodes should be chekced automatically. This basically works but der is a time lack between checking the parent node and updating the subnodes. from PyQt4 import QtCore, QtGui import...
Razer
2

votes
1

answer

UWP BackgroundTask on App update

I have a short question, if i update my App, which contains a BackgroundTask, do i need to unregister and re-register the task after the update? I have experienced that the BackgroundTask does not work anymore after an Update on some user's devices and the user had to disable and enable it again. I...
andy
4

votes
1

answer

Zero-downtime SSL certificate update

My SSL certificates expire after 90 days, and I can generate a fresh certificate on request. (I get free certificates using Let's Encrypt Without Sudo.) At the moment I have a simple HTTPS server which I need to reboot to update the certificates: require('https').createServer({ key: fs.readFileSync(...
Randomblue
3

votes
1

answer

Raise Error in Update Statement

I'm running a SP to update a balance in an account. Here is the SP code: CREATE procedure UpdateBalance(@LedgerID as int,@TransDate as DateTime,@Neg as smallint) as Begin Declare @OpenBal as decimal(12,2) Select Top 1 @OpenBal=Balance From Trans Inner Join TransGroup On Trans.TGID=TransGroup.TGID An...
navigator
7

votes
1

answer

Qt OpenGL Update Unusably Slow

I can't seem to get Qt5 to update my scene at a meaningful rate. My scene is a 512x512 textured rectangle. The rate I am getting is about 1 frame per second (!). In my constructor aTimer.setSingleShot(false); aTimer->setTimerType(Qt::PreciseTimer); connect(&aTimer,SIGNAL(timeout()),this,SLOT(animat...
Mikhail
5

votes
2

answer

Update nginx in ubuntu 14.04

In my server, nginx -v returns nginx version: nginx/1.4.6 (Ubuntu), it is very old, so I decided to update it to the latest stable version. Then, I followed this answer: sudo apt-get update sudo apt-get install nginx It gives: Reading package lists... Done Building dependency tree Reading sta...
SoftTimur
2

votes
1

answer

Update Trigger : Supertype/subtypes tables

I need some help about triggers. I’m currently developing a platform and a database in order to manage exams at my university. Here is my problem: I have 1 supertype table, which contains all the persons registered on the platform. I have to be able to make the distinction for each person between...
NickyLarson148
3

votes
1

answer

Update existing ticket in VTiger

I am a newbie to VTiger, I am using the 5.2.0 version to try, learn implementing Issue Tracking. Intro: A client sends an email to say [email protected], Mail Converter or Mail Scanner.. scans for the new email and if found creates a new ticket. If admin sees a new ticket which is being raised in...
gkolan
5

votes
3

answer

Android ListView update with SimpleCursorAdapter

Hey i use a listview for demonstrate entries which are stored in a database. I also have a EditText element and a button which adds the content of the EditText into the Database. To bind the view to the database content i use the SimpleCursorAdapter and following populate function: private void popu...
Siggy Petersen
4

votes
4

answer

Update Panel duplicating my controls

My code looks like this: 'all gridview columns go here when i click the button, its supposed to add an item fromt he txtIsoDate into the database and refresh the gridview. it adds fine, but when it comes back it creates another copy of my pnlAddIso. why is this happening? i'm so confused. please hel...
Madam Zu Zu
7

votes
6

answer

Yii INSERT … ON DUPLICATE UPDATE

I am working on a Yii project. How can I use the ON DUPLICATE feature of MySQL ( http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html ) when doing a save() on a Yii model? My MySQL is as follows: CREATE TABLE `ck_space_calendar_cache` ( `space_id` int(11) NOT NULL, `day` date NOT NULL, `a...
Nathan H
2

votes
3

answer

Update HTML page after jquery.click

I have an onclick function which basically just returns sorted data like following: $(document).ready(function () { $('.feedbackClick').click(function () { $.post('/Analyze/GetSortedByFeedback') .done(function (data) { var sellers = $('').append(data).find('#tableSellers').html(); $('#tableSellers')...
User987
2

votes
3

answer

Detecting iPhone app version update?

I'd like to determine when new versions of my app are available on the Appstore and display some form of notification to the user when this happens - perhaps a UIAlertView or similar - and wondered whether anybody knew of any pre-designed frameworks for doing this? I found the StoreKit provided by i...
Matt
2

votes
2

answer

Update Label On Another View

I have two views with a label on one of them. On the second view, there is a button. What I want to achieve here is to be able to press the button and it updates the label on the first view. How do I do that? I can't access the IBOutlet from the second view. Is there something that I have to do to t...
BensTechTips
2

votes
3

answer

MySQL Trigger - delete after update

For test case in one project I must delete record if one of fields meets one of conditions. Easiest seems be simple trigger: delimiter $$ drop trigger w_leb_go $$ create trigger w_leb_go after update on test for each row begin set @stat=NEW.res; set @id=NEW.id; IF @stat=3 THEN delete from test where...
parasit
2

votes
1

answer

MFP 7.1 Disable Direct Update?

I have an app migrated from WL 6.1 where I used to disable in WLClient.js. I have tried to disable with the Console but I still get an update after invoking custom auth. The app is downloaded from enterprise MF appcenter. I have seen the security test way of disabling, but I'm not sure I can do thi...
Justin Cox
2

votes
3

answer

Update each selected datagridview rows

I'm using this code for updating each datagridview selected rows but unfortunately it update only my first selected row.Why? foreach (DataGridViewRow item in this.dataGridView1.SelectedRows) { con.Open(); SqlCommand cmdo = new SqlCommand(@' update inventory set category = ''+textBox1.Text+'' WHERE i...
user6453809
2

votes
1

answer

Concurrent Insert and Update postgres

Is there a way to solve a problem when you receive a concurrent insert and update for a same field over a multi-threaded environment. Example Thread 1 BEGIN insert into users (name,age) values('spiderman',27) COMMIT Thread 2 BEGIN update into users set age = 26 where name='spiderman'; COMMIT Mos...
Viren
2

votes
1

answer

Update between excel & Microsoft Visio

I had create an Organization chart browse from the excel. My problem is: How can I update my Microsoft Visio Organization chart when I insert a new data record into the excel. I had the 'Link Data Shape' between my excel file and visio organization chart. But when I insert a new record into the exce...
viziz
1

votes
1

answer

SQL Server 2008: update query

I have TableA with FKColumnID I also have TableB with ColumnID and ColumnName How can I update TableA.FKColumnID to have the same value as tableB.ColumnName? Update TableA Set TableA.ColumnName = TableB.ColumnName
William