Search update

60548 results
1

votes
1

answer

Access: Invalid UPDATE statement

I'm trying to update a table in Access database. But when I debug I get the exception: 'Invalid UPDATE statement'. What's wrong with my statement: string query = @'UPDATE Phone SET Name = ?, Number = ? WHERE ID = ?';
1

votes
1

answer

Automatic time update

I'm showing current time on a button in Sencha-2. Time is updating but only once. I want continuous updation Below is my code:- Ext.define('Stackoverflow.view.Demo', { extend: 'Ext.Container', alias: 'widget.demo', config: { items: [{ xtype: 'toolbar', id: 'clocktool', docked: 'bottom', items: [ { x...
Vikal Sharma
1

votes
1

answer

Context does not update

I've been reading and following the book 'Pro ASP.Net MVC3 Framework Third Edition' by Freeman A. and Sanderson S. I've reached the part where they tell me how to update entities. Everything works fine, except the update. I've got a page to edit items in a store. Pretty basic. When I change values i...
1

votes
1

answer

Dataset update issue

I load a table from the db in a datatable belonging to a dataset. This db table has some constaints, so not any data can be inserted in it. but if i add some invalid data within the datatable, when i do the 'dataset.update()' operation an exception will be thrown, and any valid data inserted after i...
maephisto
1

votes
1

answer

Artifacts bulk update

I understand this was asked before, but that specific inquiry in their question was not resolved, so I’m asking again: Is there a way to update objects in bulk? Like, I got a bunch of Test Results, or Defects, or whatever, ready to be uploaded to the server, but of course I would prefer to send ju...
Andrés Botero
1

votes
1

answer

Service Now update()

I want update problem state as closed when incident state is closed I tried this code but it is updating all the records in problem table, But I want to update only that related table. // update the state of all active incidents to 4 - 'Awaiting User Info' var gr = new GlideRecord('incident') gr.add...
1

votes
2

answer

Directive Doesn't Update Angular

Js: myApp.directive('locationClass', function ($location) { return { restrict : 'A', link: function (scope, element) { var currentLocation = $location.path(); var formatCurrentLocation = currentLocation.replace(/\//g, ' '); //console.log(currentLocation); element.addClass(formatCurrentLocation); }...
Sadeghbayan
1

votes
3

answer

Multiple rows update trigger

If I have a statement that updates multiple rows, only the trigger will fire only on the first or last row that is being updated (not sure which one). I need to make a trigger that fires for ALL the records that are being updated into a particular table
sony
1

votes
1

answer

Update User Entity Framework

I am writing an asp.net membership provider using Entity code first and I need some help understanding how to Update the MembershipUser object. The UpdateUsert(MembershipUser user) override method needs to be implemented and consists of a MembershipUser parameter. The following code does not work...
ChiliYago
1

votes
2

answer

Unable to update cocoapods

Prior to trying to update my cocoapods I was on: pod --version 0.22.3 Whenever I do a pod install I see the following message in my console: CocoaPods 0.26.2 is available. However every time I try to update Cocoapods it does not seem to work: $ sudo gem install cocoapods Building native extensions....
KTas
1

votes
2

answer

Sharepoint update Lookup Column

I am trying to update a Lookupvalue field 'Items' via the SharePoint object model. 'Products' is a column in one list which is used as a lookup column to another list in field 'Items'. In my webpart i have dropdown of Items now string strItems = ddlItems.SelectedValue.ToString(); item['Items'] = new...
jam
1

votes
1

answer

update not working

UPDATE dwh.product_in_offer AS t SET (t.PRODUCT_BUCKET_TYPE_CODE,t.PRODUCT_BUCKET_TYPE_DESC,t.LAST_EDIT_TYPE,t.CREATE_ID,t.UPDATE_ID) = (SELECT s.PRODUCT_BUCKET_TYPE_CODE, s.PRODUCT_BUCKET_TYPE_DESC, s.LAST_EDIT_TYPE, s.CREATE_ID, s.UPDATE_ID FROM dwh.product_in_offer_vw AS s WHERE create_id = 0 A...
user4385685
1

votes
2

answer

update text within html

So I have a python webapp on Google App Engine and am using the jinja2 template engine. I have a lot of text on the site that I want to update regularly, such as news sections and updates about the site. What is the most efficient way to go about doing this? Clearly the simplest short-term solutio...
clifgray
1

votes
2

answer

Update trigger Error

I am trying to perform an update on a table that has the following update trigger but I am getting the following error: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, = or when the subquery is used as an expression. Here is the trigger... If the value of...
1

votes
2

answer

Php Mysql Update

I have some code that I am trying to make into a news feed for my front page. So far I cant get the Update to work. Ps feel free to clean up code and make for practical as this is version 1 I haven't cleaned code up. Thanks Joshua Update Part if(isset($_POST['edit'])) { $checkbox = $_POST['checkbox'...
user3818340
1

votes
1

answer

Android SQLite update statement

I'm trying to update a single attribute in a a single row. However, the code I have below is updating every row with the value of 'new description'. public void editSingleLocation(String id, String new_description){ SQLiteDatabase db = this.getWritableDatabase(); ContentValues newValues = new Conten...
Just_Some_Guy
1

votes
1

answer

Mongodb dot field update

I have the following Schema in Mongo: var OrderSchema = new Schema({ postcode: String, ... status: { last_check: { type: Date }, date: Date, code: String, postnum: String, text: String, class: String }, }); I have a function to save a data (old way is commented): function save_order(data) { // va...
Yan Kozlovskiy
1

votes
1

answer

Update highstock chart dynamically

I am still learning to use Highchart to create a chart with data from MySQL. I have managed to make a chart using Highstock (highchart). Then, I want the chart to update the data without reloading the page. How can the chart update data (plotting points), without reloading the page ? . My question i...
bagzz
1

votes
2

answer

Update ArrayAdapter outside Class

I have a custom Dialog class outside the subclass that implements the ArrayAdapter is there a way i can call the notifyDataSetChanged() from another class or an inflated view ? //This is a Subclass public class myClass extend ArrayAdapter{ myDialog.showPopDialog(); } // another class public class m...
DevfaR
1

votes
1

answer

Xcode 10 new update?

Can anyone explain me about the new update in Xcode 10 editor regarding the UILabel inspector property 'Marquee on Ancestor Focus' for controlling scrolling behaviour. https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/interface_builder_release_notes_for_xcode_10 I...
Nirbhay Singh
1

votes
0

answer

Spark DataFrame Value update

Just starting on an AWS Glue to check if certain column CASE_STATUS_ID has value 3 if yes, then change that to 2 and so on. Here is the dynamicFrame code: datasource0 = glueContext.create_dynamic_frame.from_catalog(database = 'etl_database', table_name = 'case_data', transformation_ctx = 'datasourc...
user448432
1

votes
2

answer

Meteor Collection Update Async?

I'm having trouble understanding and implementing the following. I want a div with a fixed height to list all values from an array. The css overflow is set to scroll. When I push a new item to the array, I would like the div to scroll to the bottom. In this case it's a fixed string 'hello'. $('#...
captainKevin
1

votes
1

answer

ListView won't update xamarin

So I have this code: This is the whole SlidingTabFragment.cs public class SlidingTabsFragment : Fragment { private SlidingTabScrollView mSlidingTabScrollView; private ViewPager mViewPager; public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { re...
Zoltan Kiraly
1

votes
0

answer

Update GeoJSONDataSource in bokeh

I have a problem with the update function for GeoJSONDataSource in bokeh. For the following code I take two scripts - which are working well - and add them to one. But when I do bokeh serve app I get the following Error message and I don't understand why: 304 GET /app Here is my code: from bokeh.io...
Chris Döring
1

votes
3

answer

Can't update CMake

I tried to get the latest version of CMake, as OpenSUSE is stuck to 3.5.2. version=3.10 build=2 mkdir ~/temp cd ~/temp wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz tar -xzvf cmake-$version.$build.tar.gz cd cmake-$version.$build/ ./bootstrap make -j3 sudo make install But somet...
Ernesto_Che
1

votes
0

answer

Custom theme update - Unauthorized

I've been trying to make my custom theme auto update and I've tried to use this update checker: https://github.com/YahnisElsts/plugin-update-checker Everything works fine except There is a basic authorization on my server and username and password is needed to access the url where my latest theme zi...
Raf
1

votes
0

answer

Update/modify QListWidgetItem

I would like to use QWidgetList to create a list where I can add and delete items automatically, without the user having to interact with the graphical interface. I have this done, but I can't update/modify the text I put in the item when I created it. I have created four items like this: for (int i...
hecperleo
1

votes
0

answer

Angular + Firestore snapshotChanges update

I have probably very simple problem but I don't know how to solve it. I have a function where I can get limit data with metadata like ID: getLimitItems(page) { console.log(page) return this.afs.collection('movies', ref => ref .orderBy('titlePL') .limit(page) ).snapshotChanges().pipe(map( actions =>...
nikos1351
1

votes
1

answer

tcp receive window update

i have being reading latley about the tcp protocol, and its receive window. something i have not understand yet is how can the receiver side know when to advertise a new window size? I have only thought of advertising a new window size when the receive buffer is 0, but there have to be more cases we...
user1765376
1

votes
1

answer

ENUM checkbox update database

I have a field in a table called IsFlagged set as an ENUM with the values '0', '1'. I want it so that if the checkbox on the HTML form is ticked it updates the IsFlagged field with the number 1 to reflect this. How do I do it in the simplest way and what do I need to add to the form/PHP? Is ENUM the...
user2052241
1

votes
0

answer

NSFetchedResultsController isn't always update

I have a 'Google drive' app, every time I enter folder i have NSFetchedResultsController that fetch the entity with 'parentId' parameter. my NSFetchedResultsController wrapper: class KnowledgeFetchedResultsController { private var controllerContex : NSManagedObjectContext? = appDelegate.coreDataCon...
Yair hadad
1

votes
3

answer

RadDataForm update example

I am looking for an example on the use of RadDataForm / Vue to update data in a vuex store. I have the data populating no problem, but I cannot find anywhere in the current documentation that explains how to trigger an update function when the data is updated. here is a simple example, how would I...
shane elliott
1

votes
2

answer

Update query in android

I am trying to update the database on the basis of incoming parameter but it is not updated. i am using the following code: public static void markFavoriteStation(String station, boolean favorite){ Log.d(AppConstants.TAG,'StationListDBIfc: +markFavoriteStation'); String Query = null; mDb = bartDb.ge...
user594720
1

votes
1

answer

Get-ChildItem refresh/update

Pretty new to Powershell and hoping someone can point me in the right direction. Im trying to figure out if there is a cleaner way to accomplish what I have below? Is there a way to refresh to contents of Get-ChildItem once I have made some changes to the files which are returned during the first G...
user1048209
1

votes
1

answer

Update multiple items

I want to update a few items in real time without having to change the page. I already use something like this for another item which updates every 5 seconds. I tried doing it for each item but it made my website VERY slow. I was told it could be done with jQuery but I didnt know how exactly. What I...
Sam Ham
1

votes
1

answer

Push and update plugin

1.I was trying to use the push-and-update plugin and failed. after solving the reported error (i change the plugin folder name to push_and_update) all errors disappeared , but its seems that nothing happened --> the 'remote' branch still needs to be updated manually. Please help. I tried to attach a...
Gil.I
1

votes
1

answer

OpenId update profile information

What is the recommended solution for keeping track of the current user in a site using OpenId? Say I have a Users table with an id and a claimed identifier and then my site specific info and the user wants to update their site specific info. What is the best way to track the current user given that...
Joe Cartano
1

votes
1

answer

Stored procedure update problem

The stored procedure work but update nothing!! I think is about those statements if @... null . Thank for Help ALTER PROCEDURE [dbo].[sp_UpdateLocation] @id_Location char(6), @debut_Location smalldatetime, @premier_Paiement smalldatetime, @nombre_Mensualité char(2), @id_Client char(6), @no_Termes_l...
FrankSharp
1

votes
4

answer

Update using Linq Query

I have two collections. One have an ID(int) and IsIDValid(bool) variable. and Other collection has ID(int). I want to update first collection's IsIDValid property to true, if the ID exist in second collection. EDIT: Thanks for the answers. Can I somehow do it without using foreach loop.
Vaibhav Jain
1

votes
1

answer

Web2py update 1 record

I'm using SQLFORM.grid with the added selectable to select records. form = SQLFORM.grid(query=query, fields=fields, headers=headers, orderby=default_sort_order, create=False, deletable=False, editable=True, maxtextlength=64, user_signature=False, paginate=25, csv=False, selectable=lambda ids: [co...
user3211229