Search update

60548 results
1

votes
1

answer

Nodejs+Mongoose : find and update

I'm trying to search for a document in my mongo database then using the found document data to search another document and then update both. First document is to be saved after the second document is found. But with my code the first document saves but doesnot saves updated data My code : var posts...
Karan
1

votes
1

answer

Update database directly from XAML

I have a WPF app that is currently driven completely from XAML. All fields, datagrids everything are bound from XAML using ObjectDataProviders objects. I have a DataAccessLayer (DAL) imported into the project. The calls to retrieve data using the ODPs are being used to display the data are all wo...
Matt
1

votes
1

answer

RecyclerView doesn't update at all

I have simple task, but I don't understand why it doesn't work. I need to place images in a GridView. I decided to use the RecyclerView. So I have some where I've placed it: ... In my Activity I declare: images = new ArrayList(); recyclerView = (RecyclerView) findViewById(R.id.my_recycler_view1); ad...
Peter Parker
1

votes
1

answer

gridview pageindex in update panel

I have a gridview inside an updatepanel ,on first click the page index is changing but later clicks the page indexes are not changing. but the events are triggering when click. this is how i bind data. protected void gvPurchaseDetails_PageIndexChanging(object sender, GridViewPageEventArgs e) { gvPur...
Rinshad Hameed
1

votes
5

answer

php mysql bulk records update?

I'm trying to update multiple mysql records, with this code: Update multiple rows in mysql Id Name Lastname Email
user1208865
1

votes
1

answer

Async task can't update GUI

My basic question is how do you update the GUI with AsyncTask. I am setting a String in onPostExecute that the GUI thread references. Using logging, I can see the String getting set in the onPostExecute method, but it never gets set on my GUI under my onClickListener to update the GUI. Any help i...
user1213942
1

votes
1

answer

ViewPager - Update fragment from activity

I have a ViewPager with 3 fragments. One fragment downloads data ​from a website and displays it in TextViews. Now when the user clicks in the menu of the MainActivity on the item 'refresh', the fragment should redownloads the data and displays it. I tried to create a function refresh in the fragm...
1

votes
1

answer

Django update a model form

I have a modelform: class UserPreferencesForm(ModelForm): ''' Form for storing user preferences. ''' class Meta: model = UserPreferences exclude = ('user') the model: class UserPreferences(models.Model): ''' Model for user project preferences. ''' user = models.OneToOneField(User) ... and in the vie...
Darwin Tech
1

votes
1

answer

MySQL Update DATETIME to DATE

I have a large table with a DATETIME column and for index reasons I want to add a column which just contains a DATE type. It seems that MySQL is not able to use an index by the following expression GROUP BY DATE(datetime) therefore I want to add another column with a second index. For updating I use...
sisu
1

votes
1

answer

HTML dropdown to update table

What I'm trying to do might be impossible, but I've come to the conclusion that I'm chasing my tail a bit. I've created the following php to populate a dropdown with a list of performances: echo ''; $link = mysql_connect('localhost', 'setlist', 'music'); $query = mysql_query('SHOW DATABASES'); whi...
Loren Zimmer
1

votes
1

answer

Update mapping table in Linq

I have a table Customers with a CustomerId field, and a table of Publications with a PublicationId field. Finally, I have a mapping table CustomersPublications that records which publications a customer can access - it has two fields: CustomerId field PublicationId. For a given customer, I want to u...
Gary McGill
1

votes
1

answer

Update using AJAX and JQuery

I'm trying to do a simple update, but can't figure out somthing. I have a table that i get from a DB with an Edit button that when i press change to a Save button so i can save with Ajax the record that the user just edit. I'm doing the first part just fine, have one function that do all the jquery...
Erez
1

votes
2

answer

AJAX UPDATE + PHP + IE = Fail?

Following from this thread: Another IE jQuery AJAX/post problem (please read the thread to understand this one) Now i've got an solution for the thread above.. But, the ok.php (the site it updates each 10 seconds, with AJAX script) Doesn't show in IE if the response contain HTML code. With this I me...
Karem
1

votes
2

answer

JQuery Sort And Update Database

I'm trying to present the user with a list of links (properties: Title, url, visible, order). The list will display based upon their order. The user will be able to drag these into the order they want, which will update the records in the database. The user could also click a button that will sor...
splatto
1

votes
1

answer

ADO.NET tableadapter add/update/delete

I'm using the table adapter in C# where visual studio generates the code for you. I have inserts and updates working just fine using the following code. However when trying to delete using the .update it gives me the following error. Update requires a valid DeleteCommand when passed DataRow collecti...
Chris Muench
1

votes
1

answer

Entity Framework - Detached Update issue

Ok, I am attempting to use this custom extension to perform an entity update. Right now it should update all properties and then all of its related ends (references). The problem is even though the entity with changes does have a related end with an entity key that is valid and correct (verified in...
Michael M.
1

votes
1

answer

Gridview Data Update by textbox

When am trying to update Datagridview with a textbox value it shows empty value in textbox my code is this.wt's wrong in this. bnddata() has dataset assign to gridview protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { GridView1.EditIndex = e.NewEditIndex; bnddata(); } pro...
Raghu
1

votes
2

answer

Webpage update notification in android

I have made a webapp for my android phone where I can check the sales at my store when I'm not there. I would like to have notifications on my phone whenever a sale is made. What is the best way of doing this? Any existing android apps that I can configure to check a php-script every 2 minutes or so...
OMGKurtNilsen
1

votes
1

answer

How to edit/update form?

I'm having a hard time on how to update/edit my code. PHP:
1

votes
1

answer

npm update cant change version

I recently installed nodejs v6.9.2 via https://nodejs.org I try to update packages in cmd but it looks no change at all. I was able to change npm version with these commands, somethings wrong with nodejs in my pc.. Here is output: How can I fix it EDITED: here is npm and node version outputs.
TyForHelpDude
1

votes
1

answer

Update query keeps throwing errors

UPDATE qryMembersBorrows SET [qryMembersBorrows].[DaysOver] = SUM([qryMembersBorrows].[DateReturned] - [qryMembersBorrows].[DateDue]), qryMembersBorrows.OverdueFine = SUM([qryMembersBorrows].[DaysOver] * 0.93); This code keeps throwing an error: Your query does not include the specified expression...
Alan Dong
1

votes
3

answer

Update input value on click

I have input : And div : Add to input Description 99,00 Question: How to increase input value by price in every click? Now I increase only number of clicks. Fiddle.
broc
1

votes
1

answer

pypyodbc update number type field

I have used the script below to successfully update fields in an Access .mdb database that are text fields. I am trying to update a number type field but am getting errors. import csv, pypyodbc conn=pypyodbc.connect('Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=c:/MDBTest/MyReducedMdb.mdb;...
user3579106
1

votes
1

answer

Conditional update statement in PSQL

I'm trying to do a conditional update on my website. Whenever a user clicks a certain link, a global counter variable in the database increments itself. The complication is that when the counter number exceeds the number of websites I have on record, I want the counter to go back to 1. I have an upd...
GreenGodot
1

votes
2

answer

Update a Windows Mobile Driver

We have a custom NDIS protocol and miniport drivers for Windows Mobile 6.5. We'd like to allow the user to uninstall these drivers cleanly, however uninstall currently gives the error: ' was not completely removed. Do you want to remove it from the list of installed programs?' This is probably ha...
Tom Hennen
1

votes
1

answer

Update existing record in CakePHP

I want to create the following in CakePHP: Starting page: User enters a loginname which pre exists in the DB. Table name loginname. Once the user has entered the right loginname, the user continues to the registration form, where the user can add personal data to the existing record. When the user s...
user2314339
1

votes
2

answer

auto update svn from git

Here's what I would like to do. Is it possible have project in git. Lots of people pushing, pulling, merging etc. Normal it workflow have ONE AND ONLY ONE of those git repo's push changes in it's master branch to svn. No one else will ever commit to the svn repo. It's one direction only. From git to...
gman
1

votes
1

answer

Force update *ngFor Angular 2

For my app I need to force update the *ngFor component. Any way to force update it from my code for example with a updateList function? I'm using a firebasepipe to get the child_added event to update the ngfor. I need to remove an entry and add an entry at the same time but it only updates things th...
anned20
1

votes
3

answer

sql server update from select

Following the answer from this post, I have something like this: update MyTable set column1 = otherTable.SomeColumn, column2 = otherTable.SomeOtherColumn from MyTable inner join (select *some complex query here*) as otherTable on MyTable.key_field = otherTable.key_field; However, I keep getting this...
1

votes
6

answer

Update datetime fields date only

Years ago a conversion from MSSQL 6.5 to MSSQL 2000 has been done and they realized just this week that the conversion failed to convert some datetime columns. It is now my task to fix that and I've been scratching my head on how I could preserve some pieces of information I know is accurate. Here i...
Mario
1

votes
2

answer

Sql Update with Join statement

I have two tables : first one stores main informations and the second stores some extra informations. I need to update the first table with the help of some data stored at second table. My SELECT statement is working SELECT news.news_id, news.title, news.cat_id, news.sub_cat_id, news_extra.dat...
pikk
1

votes
1

answer

Update array of document embedded

A question if I want to update all documents embedded in a document, how could I do? because when you run the following command .update({'sites':{$elemMatch:{'status':true}}},{$set:{'sites.$.status': false}},{multi:true}) only the first found embedded document is updated documents example: { '_id':...
1

votes
1

answer

Using update queries with objectdb

The following code: EntityManagerFactory emf = Persistence.createEntityManagerFactory('test.odb'); EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); Point p = new Point(0, 0); em.persist(p); em.getTransaction().commit(); em.getTransaction().begin(); Query query = em.createQu...
user161904
1

votes
1

answer

PHP / Facebook-Api: Update Friendlist

I'm using the official PHP-Facebook-Api and I know how to get the friendlist of a user. It is basically like so: $facebook = new Facebook(array( 'appId' => 'xxxxxxxx', 'secret' => 'xxxxxxx', 'cookie' => true, )); // $session is only != null, when you have the session-cookie, that is set by facebook,...
Pascal Klein
1

votes
1

answer

Update MySQL through objective-c

I'm making a 'post text' app and trying to update my database with name and body field. The obj-c code looks like this: - (IBAction)post:(id)sender { NSLog(@'%@', name); NSLog(@'%@', body); // create string contains url address for php file, the file name is post.php, it receives parameter :name NS...
tracifycray
1

votes
3

answer

vba filter update in function

For some reason the filter doesn't apply as I cannot see any changes. The function seems to enter the correct values, but only if I manually click OK in the 'custom filter' it updates the screen. So I guess I'm missing an update filter option or something. Code: Function filter(weekstart As Date, w...
Tino
1

votes
1

answer

Update Word 2013 SEQ fields

I'm writing a VBA macro to update ONLY SEQ fields in Word 2013 documents. I designed it to use GoTo to visit each SEQ field one at a time from start to end of the document (NOT Update All) to ensure that I skip other field types. I'm struggling to make it loop for each SEQ field until the end of the...
Ruth
1

votes
1

answer

Cannot get data to update

Newbie Q: I have existing data painting to the Edit screen.. but cannot get it to update. I can create and list(in other code), but doing something wrong on the update. I believe I am doing something wrong in the controller.. Save button actions back to Edit screen with no changes. Controller Co...
Bob Cichon
1

votes
1

answer

update statement breaking the database

I am trying to figure out what's wrong here, but really not sure. I have a site with users, when a user edits details, it seems to override all other records with those details. This doesn't happen always but sometimes (of course the result is chaos!). Here is the code of update public function upd...
sys_debug
1

votes
1

answer

update eclipse java to EE

I'm working with a version of eclipse. I want to update my version. I have 'Eclipse IDE for Java Developers', but I need somes things on 'Eclipse IDE for Java EE Developers' (EE version). Mostly I want the web part. So did theres a way inside the software for updating to EE? tank you (I'm using wind...
forX