Search update

60548 results
2

votes
3

answer

MySQL Update Statement doesn't work

My update statement in MySQL doesn't appear to be working: timeup = 'UPDATE timeid set time=\'' + str(timeid) + '\'' c.execute(timeup) I've tried everything I thought might be wrong with it, including changing the type of the variable (as you can see above, I have it as a string) and using and not u...
0

votes
1

answer

photo Gallery update on Android

I'm having a trouble with my Android application developed with Eclipse. The problem is that when I capture a new image using the folowing instructions: intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); startActivityForResult(intent, TAKE_IMAGE); The device stores the fi...
user2281689
0

votes
4

answer

Update $scope var from http.get

Can someone please explain why $scope.shopLocation does not get changed to = special once the for loops have been ran. I need to access this var data further down in the controller and I can't access it inside the http.get If anyone has any links to good explanations of scopes/vars etc I would be gr...
craigie2204
0

votes
1

answer

Getting last update information / Firebase

When working with a database on Firebase, is it possible from within an iOS app to check the date(& time) a document was last updated using some standard API? I mean without implementing my own system to know when it was last time touched. It would be convenient if there was a field 'lastUpdate' tim...
Michel
1

votes
1

answer

Update multiple records using mongoose?

I am writing a service class (mongo_service.js) in order to keep my CRUD operations seperate for a project. Below is the code to update multiple items. updateMultipleCollection(Model, searchObject, collectionNewToUpdate) { return new Promise(function (resolve, reject) { Model.update( searchObject, c...
Shanka Somasiri
0

votes
1

answer

mongoose findOne, update and exec

I am confused how to use mongoose according to the following documentation using findOne().update().exec() should return a promise but what is returned does not have a fail member: var ret = mongoose.models[collection].findOne({_id:id}) .update({status:status}) .exec(); console.log('having fail:',re...
HMR
3

votes
2

answer

Insert/Update Entity in EF?

I am writing a crawler that should go to a website, extract some data from there and then store it into a db, the thing is the crawler should also update the data that has already been found in a prior run. The ParseDataPage returns the information parsed from the site in a EF POCO, one of its prope...
David Sarmiento
0

votes
1

answer

Update table from multiple checkboxes

I want to update a table from multiple checkboxes with dynamic fields. I built the checkboxes with the below code: /> So i get this as i want it. When i submit my form i run a function that gets all the fields from the table specifics and tries to update the table with the changes from the form (ch...
John Priestakos
0

votes
1

answer

ld path update for compiling

I just installed manually apr and apr_util so i can install activemq c++ library. When i try to make the cpp library i get the following error: ** libtool: link: g++ -ansi -pedantic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1 -I/usr/kerberos/inc...
DarthVader
4

votes
3

answer

SQL Concurrent test update question

I have a SQLServer 2008 database in which I have a table for Tags. A tag is just an id and a name. The definition of the tags table looks like: CREATE TABLE [dbo].[Tag]( [ID] [int] IDENTITY(1,1) NOT NULL, [Name] [varchar](255) NOT NULL CONSTRAINT [PK_Tag] PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (PAD...
ptoinson
2

votes
3

answer

Update array from event callback

I have to update an array (which is bounded in my html template) from an event based call back function. But it is undefined when I access it inside the callback. export class HomePage { constructor(public navCtrl: NavController) { let consumer: string[]; // { console.log('Received: ' + msg.data);...
ali ahmed
4

votes
1

answer

StackOverflow: Automatic information about update

On any page of SO, the page automatically tells me if there is any update. That is, the page automatically displays the info 'There is one question with update' or so. I was curious how this is implemented. I opened my chrome browser, opened the developer tools, 'Network' tag, but cannot see any req...
gefei
3

votes
1

answer

esper and update listener concurrency

I'm new to Esper and I was wondering if the update method of an UpdateListener is executed concurrently by multiple threads. If that's the case I conclude that write on an HashMap inside this method is not safe. Is it correct, or am I missing something? Thanks in Advance
rlar
2

votes
0

answer

ember update failed: handlebars incompatibility

I recently updated to the last version of ember-rails gem, and at page load, it gives: Assertion failed: Ember Handlebars requires Handlebars version 1.0.0, COMPILER_REVISION expected: 4, got: 3 - Please note: Builds of master may have other COMPILER_REVISION values. these are my versions: DEBUG: --...
Alive Developer
3

votes
2

answer

errors after gem update --system

I working on OSX on a ruby on Rails application. Using RVM for managing ruby. I just did: gem update --system I thought this is something you have to do once in a while. But it seems that this has broken something. When I start my application (i am using Pow) I see these errors: Error starting appli...
MDekker
1

votes
4

answer

Update not equal and Null

It must be dead simple, but I'm hitting the roof on this one. I have a table A B C ------------------------- | 1 | 9 | car | | 2 | NULL | bike | | 3 | 6 | NULL | | 4 | 7 | car | | 5 | 9 | dog | | 6 | NULL | cat | | 7 | NULL | NULL...
Michel
1

votes
3

answer

Element does not update contents

Following is the JavaScript code to reveal the Browser details. Its showing no output. Please let me know where I am doing wrong. var txt; txt = 'Browser CodeName: ' + navigator.appCodeName + ''; txt+= 'Browser Name: ' + navigator.appName + ''; txt+= 'Browser Version: ' + navigator.appVersion + '';...
sandbox
5

votes
3

answer

SafeModeResult is null after update

Using MongoDB and the latest 10gen C# driver (CSharpDriver-1.3.1.4349), I am trying to do an 'in place' update and get back the # of documents effected in the result. public static long SaveListings(string state, bool isActive, DateTime updateDate) { var result = Collection().Update( Query.And( Quer...
Justin
2

votes
1

answer

Update visual data between forms

I have a ListView. Each item of the ListView linked to an object (class). I want to update object data on other forms on click on an item. So I’ve implemented Observable Pattern. Interfaces: public interface IObserver { void Update(object obj); } public interface IObservable { void AddObserver(IOb...
john7
5

votes
2

answer

MongoDB : Nested array update issue

I am using MEAN stack to display the following array in a grid. Nested array: { '_id':'1', 'appDomain':[ { 'appDomainName':'XYZ', 'dashboard':[ { 'envName':'UAT', 'envDetails':[ { 'hostnme':'ABC', 'ip':'sdsdsdsd', 'cpu':'-------', 'memory':'-------', 'disk':'-------', 'downtime':'sdsd...
prakash selvam
2

votes
3

answer

C# grid binding not update

I have a grid that is binded to a collection. For some reason that I do not know, now when I do some action in the grid, the grid doesn't update. Situation : When I click a button in the grid, it increase a value that is in the same line. When I click, I can debug and see the value increment but the...
Patrick Desjardins
2

votes
1

answer

Update HTML only where needed

Example HTML page: 1 2 Then in a ajax request I get 1 2 3 Is it possible to update the first one without replacing it? In that particular example it should only append a list item to the UL. But how can I determine if some needs to be added, removed etc, if I don't know what the HTML code will...
thelolcat
1

votes
10

answer

Requiring users to update .NET

I'm working on some production software, using C# on the .NET framework. I really would like to be able to use LINQ on the project. I believe it requires .NET version 3.5 (correct me if I'm wrong). This application is a commercial software app, required to run on a client's work PC. Is it reasonable...
Danny
3

votes
1

answer

Update operation violates unique constraint

I need to implement a 'shift by year' operation in my Entity Framework application. To simplify things, let's suppose I have an entity / table that has a foreign key FK to some other table and a YEAR (int, int). Users may shift the entity years to the future, so I need to copy data from 2017 to 2018...
Luis
6

votes
1

answer

Stop Listener after first update

I want to know the signal strength of my current cell tower on Android. After some research I found, that I should use a PhoneStateListener which listen for an update to get the value (strange way to do that IMHO). So I want to get the signal as soon as I get it and stop the listener after. This is...
Martin Trigaux
5

votes
1

answer

Entity framework and UPDATE CASCADE

A bit frustrated over here. I'm trying to find a way to support update cascading with the entity framework, and there doesn't seem to be a built-in way. Research on the net basically shows everyone saying that you should never change a primary key value anyway, but there are valid cases where you wo...
David Catriel
2

votes
0

answer

Update value in website odoo

I want to update a value after changing another value for example in the addition to the odoo basket if the quantity is available it shows me a value like the image if I increase the quantity I want it to change to not available like this This my code source Disponibilité Disponible Epuisé
developper
2

votes
0

answer

Google Document Update API Javascript

I want to update my google document from my website by text area ( auto save on google docs ) How can I use this? Do I need google access key and where to use the key ? function updateFile(fileId, fileMetadata, fileData, callback) { const boundary = '-------314159265358979323846'; const delimiter...
Vinayak
4

votes
2

answer

Cannot update zope.schema in Plone

Very new to setting up Plone 4 and trying to integrate Solgema.fullcalendar but when running buildout I get an error saying it needs zope.schema 3.6.0 and I have 3.5.4. I cannot for the life of me work out how to update it. I assume I am missing something fundamental here but it is doing my head in...
Shufty
2

votes
1

answer

Kentico Personas Update time Delay

We are using Kentico inbuilt personas for one of our web sites and we are experiencing about five seconds delay when updating personas. We have some contact fields and we use rules to set personas. Is there any way to improve the persona's update time. We use the following code snippet to update the...
Mahesh
1

votes
1

answer

Update multiple objects with Parse?

How can you update multiple objects to Parse in a single query? The code below is for a single entry. How can I go about updating multiple values, which I get from an array? var query = PFQuery(className:'GameScore') query.getObjectInBackgroundWithId('xWMyZEGZ') { (gameScore: PFObject?, error: NSE...
Mugs
2

votes
2

answer

UPDATE on LEFT JOIN error

I have an SQL query which keeps giving me an error. I have tried multiple ways of writing the query but I have had no luck in fixing it. I have two tables(table1 and table2) with duplicate columns orgcodeold and orgcode. table1.orgcode is empty but table2.orgcode is populated. I am trying to popul...
GrumpyCat
3

votes
2

answer

Using try/catch for update

Because I am a newbie I am trying to log out any errors that may occur with stored procedures I write. I understand Try/Catch in SQL 2005 and error_procedure(), ERROR_MESSAGE() and the other built in functions. What I can't figure out how to do is capture what record caused the error on an update....
Bob Cummings
8

votes
2

answer

AIR enterprise deployment and update

What's currently best practice to prepare an AIR application for enterprise deployment and also updates? The AIR updater framework is nice and convenient - but also requires admin rights (as far as i'm aware of) to install the updated version. So - how to prepare an AIR application such that an ente...
2

votes
2

answer

Redirect a user after update

I have a page that users will click a update link and once they land on the page it will tell the server to grab data from a API and takes a few minutes. The problem is I don't wan't to have to keep refreshing the page to send the user back once it has updated. Is there a jQuery function that will c...
chillers
3

votes
2

answer

Update with subselect in MySQL

How to make the following statement to work in MySQL? UPDATE my_table t1 SET column_1 = (SELECT column_1 FROM my_table t2 WHERE t2.id = (t1.id - 1)) WHERE t1.type = 2 I am getting a 'You can't specify target table 't1' for update in FROM clause' error.
RedDragon
7

votes
4

answer

Error thrown in update-alternatives

I am trying to install jdk for 32-bit OS. Followed the below steps, wget --no-cookies --header 'Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com' http://download.oracle.com/otn-pub/java/jdk/6u38-b05/jdk-6u38-linux-i586.bin chmod u+x jdk-6u34-linux-i586.bin ./jdk-6u34-linux-i586.bin mkdir -p /usr/lib/jvm...
Linda
7

votes
4

answer

dynamically update TextView in Android

I am quite new to Android development. Can someone let me know the relevant APIs to dynamically update a TextView (or entire screen )? For example: I have a search application and I need to show the results as they are found rather than waiting for all results and then show.
prash
2

votes
1

answer

Cannot update Image inside picturebox

I'm making a small Reversi/Othello game and inside my method for drawing the board I have a nested for loop to display a grid of PictureBoxes each with an image in. The first time the method is called all the PictureBoxes are created correctly and the images placed inside. However if I then call the...
MBrazier4
2

votes
1

answer

Update observableArray only on event

Example jsFiddle Note: I'm currently learning with KnockoutJS so any guidance on best practices, or corrections on whether I'm doing things right are always appreciated! I am working on a test project trying to get to grips with the brilliant KnockoutJS and I'm now at a point where I need to think a...