Search update

60548 results
2

votes
1

answer

Update field updated by trigger

I have a table with multiple fields and an additional outofsync field. Created a trigger and trigger function to set outofsync field value to true before any update/insert. Trigger: CREATE TRIGGER goods_update_outofsync BEFORE UPDATE ON goods FOR EACH ROW EXECUTE PROCEDURE tg_update_goods_outofsync(...
HoGo
3

votes
1

answer

Android: How to update build.gradle?

I need gradle ver 2.1.4 so I tried changing classpath 'com.android.tools.build:gradle:2.1.3' to classpath 'com.android.tools.build:gradle:2.1.4' but it didn't work. I also tried this method http://devdeeds.com/update-gradle-plugin-android-studio/ but that didn't work either. This is the error tha...
Pear
4

votes
2

answer

PrimeFaces RequestContext.getCurrentInstance().update() not working

I use dialog framework of : http://www.primefaces.org/showcase-labs/ui/dialogFrameworkData.jsf I create a file view_test.xhtml Dialogo Prueba this dialog is open of other form 'idFormStore', when I click commandButton 'idBtSaveDir' the method saveAdress is called and the value in idAdress is copied...
Ronald
3

votes
1

answer

location update auto pause iOS

I'm building an iOS app using phonegap. I'm trying to get iOS to update its current position to my app when the app runs in the background. I've registered the location updates background mode however it's not reliable. After some research, I believe that iOS is automatically pausing the location up...
Shu
12

votes
1

answer

Update multiple columns from subquery

This type of thing has been asked a few times before, but is not quite what I am looking for. I need to SET two rows equal to different parts of a subquery. I am currently using: UPDATE records SET leads=(SELECT COUNT(*) FROM leads_table WHERE leads_table.blah=records.blah), earnings=(SELECT SUM(amo...
kmoney12
7

votes
1

answer

Update material navigation drawer header

I'm using the recently Google provided support library to add the navigation drawer to my app. In the navigation drawer's header, I define a CircleImageView to set user's profile pic, an his name under it. All this info, is first defined by the user in the app's first start, so when the mainActivity...
masmic
2

votes
1

answer

sqlalchemy event on column update

I registered an event at updating User.name for apply some rules after or just before update. from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy import event from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_ba...
chao787
4

votes
1

answer

Update calendar instances.end via events.dtend

When I update the CalendarContract.Events DTEND column, why doesn't the change show up in the CalendarContract.Instances END column? My app allows the user to view and change calendar events using the CalendarContract.Events APIs. The code performs an update to the Events table and then reads it ba...
Peri Hartman
28

votes
5

answer

Update with Join in SQLite

I have 2 tables and like to update one of them with the values from the other. software --------- id , purchprice softwarecost ------------ id , purchprice I've tried these queries but, SQLite doesn't support JOINS with UPDATE.anybody out there who can come up with a query for this.thanks for your...
Carter
6

votes
2

answer

python pip broken after update

I am seeing the following error from pip on several versions of python3 that I am running: ... raise MissingSchema('Proxy URLs must have explicit schemes.') pip._vendor.requests.exceptions.MissingSchema: Proxy URLs must have explicit schemes. It looks like something with the requests library. And th...
mathtick
3

votes
2

answer

Private cocoapod never shows update

I have a private cocoa pod which I have successfully built and included in my project. In my project's podfile, I add it as so: pod 'myPrivatePod', git: 'https://git.private.com/myPrivatePod.git' My podspec file is in the root of the project, I followed the example from reachability. When I update m...
JDM
5

votes
7

answer

Update Twitter Status in C#

I'm trying to update a user's Twitter status from my C# application. I searched the web and found several possibilities, but I'm a bit confused by the recent (?) change in Twitter's authentication process. I also found what seems to be a relevant StackOverflow post, but it simply does not answer my...
Roee Adler
2

votes
3

answer

adding conditional statement inside UPDATE

The query: UPDATE empPac SET quantityLimit = allocation, allocationStart = ''&allocationStart&'', nextUpdate = DATEADD(mm, allocationMonths, '&allocationStart&'), lastUpdate = GETDATE(), quantityIssued = 0, quantityShipped = 0 WHERE allocation IS NOT NULL AND allocationMonths 0 AND (nextUpdate
scarhand
2

votes
2

answer

Pandas dataframe conditional column update

Here is my dataframe: ACC Count SumOneLotPNL MinAVG U PerLotPNL Y AS 30106EURTRY1 30106 1 34.84 5.0 A 34.840000 3 30106USDTRY0 30106 16 -3018.18 8190.0 T -261.623333 2 30106USDTRY1 30106...
anilca
3

votes
2

answer

How to update/reinitiate mmenu?

I've tried using the jQuery.mmenu-plugin, found here http://mmenu.frebsite.nl/. It works great with pre-defined lists, but how do I handle lists which are updated with jQuery? Here's an example of an initialized mmenu: item 1 item 2 item 3 Then I append items to the list the following way: $('#list...
Gustav
2

votes
3

answer

Update Geography column in table

I have the following table As you can the Geo column (data type Geography) is null I currently have 11913 rows in this table what I'm trying to do is update the Geo column by using the following statement and populate the Geo column with the data that is provided by Geography::STGeomFromText DECLAR...
Code Ratchet
2

votes
3

answer

HELP! uitableviewcell buttonpressed update textfield

I want to press the QTY button (red text) and copy the text (ie 13) into the textfield in the same row. -(IBAction)qtyButtonPressed:(id)sender { UITextField *textField = (UITextField *)[self.view viewWithTag:3]; textField.text = @'13'; this is what i have atm.
johnstontrav
6

votes
1

answer

PyTables batch get and update

I have daily stock data as an HDF5 file created using PyTables. I would like to get a group of rows, process it as an array and then write it back to disk (update rows) using PyTables. I couldn't figure out a way to do this cleanly. Could you please let me know what will be the best way to accomplis...
Ecognium
23

votes
5

answer

Update function in TSQL trigger

I have a question about TSQL function Update. For example, I have a table with a field Name. If I check if the field Name is changed or not in a After Update trigger likes this: if Update(Name) Begin -- process End Will the Update still return TRUE even if Name is not changed? The following update s...
David.Chu.ca
3

votes
1

answer

AngularDart: ng-repeat filter update

I'm trying to apply a filter to a ng-repeat. But it's not updating when my model changes. {{column.title}} I'm getting the columns via a future in my component if thats makes any difference. cols.getColumns().then ((columns){ this.columns = columns; })
r455
16

votes
10

answer

Update progressbar in each loop

I have a progress bar that I update in a loop of many iterations. https://jsfiddle.net/k29qy0do/32/ (open the console before you click the start button) var progressbar = {}; $(function () { progressbar = { /** initial progress */ progress: 0, /** maximum width of progressbar */ progress_max: 0, /**...
reggie
2

votes
0

answer

Error after Xcode 6.3 update

I am getting the following errror after I updated Xcode to 6.3. I cannot run the apps on simulator or on device. I didn't update the OS. Do I need to update the OS to 10.10.3 to get Xcode working? The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
2

votes
2

answer

update local github account information

Unable to make commits to my new github account repositories from my local terminal. remote: Permission to /22c.git denied to . I have updated my global 'git config' settings` git config --list reveals the following: credential.helper=osxkeychain core.editor=/usr/bin/vim core.autocrlf=input user.na...
Alexander McNulty
3

votes
3

answer

HowTo update/modify LINQ EntitySet?

In my LINQ to SQL generated classes I have some classes containing EntitySets. Everything looks great until I need to modify the EntitySet (add, delete some relationships). I thought that it was going to work doing something like: User.Actions = newUserActions; //This is how I used it with NHibern...
Carlos Castillo
3

votes
1

answer

SQL SELECT followed by UPDATE

I have Employee table and HR table. Address of employee ( address column ) is there in both the tables. I want to update the HR table's address column with the address from Employee table, for all those records wherever there is a mismatch between the HR table's address and Employee table's address...
newbie
12

votes
3

answer

Last update timestamp with JPA

I'm playing around a bit with JPA(Eclipselink to be specific). The below entity have a timestamp that's supposed to reflect whenever that entity was last updated. What are the strategies for making JPA update that timestamp automatically every time this entity is changed ? How would I go about if I...
nos
2

votes
1

answer

Update Quantity on Hand IPP

I am trying to update the quantity on hand for 1500 QuickBooks Online inventory items. I can pull the 1500 products from the store. Can this update be done? I see no quantity on hand object: https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0400_quickbooks_online/item Can t...
Joseph Anderson
2

votes
1

answer

Update class array after $.ajax

I have a set of buttons in a list, some of them have a disabled class. What I want to do When I click a non-disabled button I want to add disabled to ALL the buttons. After finishing the ajax request, I want to have only the previously AND the clicked button to have a disabled class. I tried $(docum...
PrimuS
12

votes
5

answer

Update database schema with hibernate

update i can create my database schema, it automatically add properties, constraint, key etc... But what about UPDATE the database schema? If i remove some property from my entities, hibernate doesn't remove it, or if i change some constraint, hibernate doesn't touch constraint already created... So...
blow
1

votes
6

answer

wpdb update query not working

I've made an email script that should update as soon as wp_mail has result. For some reason my value won't update. Have I missed something? I am receiving the mail so the wp_mail works. Cheers! $email_result = wp_mail( $to, $subject, $message, $headers ); if( $email_result ){//wp_mail() processed th...
adnan
12

votes
1

answer

Cassandra UPDATE primary key value

I understand that this is not possible using an UPDATE. What I would like to do instead, is migrate all rows with say PK=0 to new rows where PK=1. Are there any simple ways of achieving this?
greenimpala
2

votes
1

answer

Woocommerce hook for order update

Good morning everyone. As the title says I'm trying to fire a function when an order is updated. More specifically I want to run this function when a custom field in the order page (admin side) is changed and then saved. I'm not looking to find out when an order is complete or when its status is upd...
Andrea
3

votes
1

answer

programmatically update bundle product magento?

I have created a script in magento which create the bundle product and it is working fine. But i want to also update the created bundle product with new products of selection. Here it is my code and it is not working: public function updateBundleProduct($pro_id,$cPrdcts){ $bundleProduct = Mage::getM...
Mahi
3

votes
2

answer

pygtk - how update a gtk.liststore?

http://img824.imageshack.us/i/capturadetelag.png/ how update a gtk.liststore? i mean get a random number every second on a column just like example, such as a download manager list, i'd like to have a simple example to know how this Liststore works for update the list, because i can't find a effecti...
killown
2

votes
1

answer

Update JSON Array with React.js

Here is my JSON Array. rows : [ { 'id':1, 'first_name':'William', 'last_name':'Elliott', 'email':'[email protected]', 'country':'Argentina', 'ip_address':'247.180.226.89', 'notificationType': [ { 'type': 'update', 'text': 'New Update' 'selected':null }, { 'type': 'user', 'text': 'New User' 'select...
javauser35
2

votes
1

answer

SQLite3 Update Statement REALLY slow

I've spent hours trying to figure out why this update statement is slow. I've got an SQLite database on iOS and it currently takes about ~2 seconds for the STEP to complete for this update statement. As I've got between 10 and 100 repeats of this code to go through before moving on, it ends up takin...
edholmes
11

votes
1

answer

Disable registry update in Cargo

How do I disable cargo update or cargo build from attempting to access github.com; but still download the appropriate package from crates.io I have a single dependency in my cargo.toml [dependencies] chrono = '0.2.14' Running cargo build E:\>cargo build Updating registry `https://github.com/rust-la...
Ronnie
13

votes
2

answer

ElasticSearch bulk insert/update operation

I am not sure if I am using correctly the upsert operation in bulk indexing. My request is: { 'update': {'_id': '610946100'}}\n {'doc': {'id':'610946100','uri':'/0/0/1/6/4/0/610946100.xml'}, 'doc_as_upsert' : true}\n and url is: http://localhost:9200/anIndex/aType/_bulk I guess I missed something in...
dimzak
2

votes
2

answer

Java WebStart with version Update

I'm using Java WebStart with this simple application that I'm working on and I have also made it so that it would be able to check for updates for the latest versions of the jar file. Although when running it, I get an error message saying that there is a missing version response from the server. b...
pedro
3

votes
1

answer

update user information in firebase

I am using angularFire in its latest version 2.0.1, but I see information on how to update information as 'displayName' try to obtain user information with firebase.User() but I get error 'getApi' I am misguided quisas how to update the information a user created earlier