Questions tagged [duplicate-data]

354 questions
1
vote
2 answers

Problems overwriting a model field in Python in Odoo?

I have created a module which modifies other one (named base). In the module base there is the res.partner model, and in this model there is the field birthdate: _columns = { ... 'birthdate': fields.char('Birthdate'), ... } What I do in my…
forvas
  • 9,801
  • 7
  • 62
  • 158
1
vote
2 answers

How to duplicate a structure into a pointer with malloc function [C-Programming]

I've tried to create a function that duplicate a structure into a pointer, but here is the issue, there is a char tab into the structure and I can't assign my original value to the new structure. The function : Planete *dupliquer(Planete *p){ …
oktomus
  • 566
  • 7
  • 28
1
vote
1 answer

Entity Framework inserting duplicate records

I'm trying to do a couple of related insertions in a transaction and for some reason EF keeps inserting multiple duplicate records. The closest I could find here is the many-to-many issue, but that doesn't solve my problem. Here's what I'm trying to…
Ch1mp
  • 45
  • 1
  • 8
1
vote
3 answers

Duplicate results from mysql

I'm new to php, but I have already made some query's for my webshop. I have a little problem now with making the invoice. I'm trying put the invoice data from the database in a table in my website, but it duplicates itself. Product_id | Product…
jorphp
  • 13
  • 4
1
vote
3 answers

MYSQL variables - SET @var

I am attempting to create a MySQL snippet that will analyse a table and remove duplicate entries (duplicates are based on two fields not entire record) I have the following code that works when I hard code the variables in the queries, but when I…
Lizard
  • 43,732
  • 39
  • 106
  • 167
1
vote
1 answer

R: detecting duplicated of *specific* columns

How do I detect in R duplicates of a specific columns? I know the duplicated() function, but it gives any duplicates, while I'm interested only if one specific column is duplicated. Example: > x = 1:5 > y=6:10 > z=11:15 > mat=cbind(x,y,x,x,y,z) >…
Ruslan
  • 911
  • 2
  • 11
  • 28
1
vote
5 answers

How to remove duplicate values in string which has delimiters

I have string with value as ||HelpDesk||IT Staff||IT Staff||Admin||Audit||HelpDesk|| I am trying to write code which should remove duplicates and return the unique values retaining the demiliters like this ||HelpDesk||IT Staff||Admin||Audit|| My…
user2961454
  • 353
  • 1
  • 4
  • 15
1
vote
1 answer

Access query is duplicating unique records / Linked table issues

I hope someone can help me with this: I have a simple query combining a list of names and basic details with another table containing more specific information. Some names will necessarily appear more than once and arbitrary distinctions like "John…
1
vote
1 answer

ListView item duplicate on Scroll down

I'm getting items duplicate on scroll down or switch to landscape mode, I've been reading some post about this subject before posting this new one, but the most of them explain the "else" catch on "if(converView == null)" which I already have on my…
1
vote
1 answer

Remove duplicate data selected form database with array unique

Below is my code i want to remove duplicate value selected from the database using array_unique() not DISTINCT in mysql query please i need help with this Thanks $query2 = "SELECT * FROM place"; $result2 = mysql_query ($query2) or die('query…
simon oni
  • 35
  • 6
1
vote
1 answer

IE6 is duplicating characters, can't figure out why. Suggestions?

Problem is located on http://www.preownedweddingdresses.com/ We have a dresses slider at the bottom, select tabs different dresses shown. Works fine everywhere else, but for some reason, in IE6, the letters "ls" (from the tab "Best Deals") are…
Paul
  • 353
  • 5
  • 13
1
vote
1 answer

Microsoft Dynamics CRM 2011 duplicate rule length

In Microsoft Dynamics CRM 2011, I want to create a duplicate rule that consists of several fields. However, when I try to save the rule it shows an error that says that the total length of the duplicate rule is too large (maximum is 450). How do I…
Erik Schierboom
  • 16,301
  • 10
  • 64
  • 81
1
vote
1 answer

Rails model scoped uniqueness validation unexpectedly skipped in high CPU load

I realized that Rails scoped validation sometimes skipped unexpectedly which results in duplicated record. As a notice, my server is doing some high CPU tasks which regularly fills 80-100% of 6 CPU cores. Is my validation setting incorrect, or does…
1
vote
1 answer

duplicate views from custom arrayadapter from search results

I have a custom arrayAdapter that fills a listView. When I first load the listActivity, the information that was loaded from a AsyncTask loads correctly without any duplicates. On that same activity I use the search field in the ActionBar but for…
Trig3rz
  • 174
  • 11
1
vote
1 answer

SQL Duplicate results when querying

So, I've tried to use the following SQL statements to return results from a relatively small database. I have checked the database for duplicate entries but all entries are different. The code is as follows: SELECT * FROM cds JOIN releases …
JRD91
  • 139
  • 1
  • 1
  • 9