Questions tagged [associate]
44 questions
0
votes
1 answer
Creating a many to many in postgresql
I have two tables that I need to make a many to many relationship with. The one table we will call inventory is populated via a form. The other table sales is populated by importing CSVs in to the database weekly.
Example tables image
I want to step…

joshw
- 25
- 6
0
votes
1 answer
Associate .txt files with VB.NET Program
I created a super basic text editor which can read .txt files. I would like to know how I can set my basic text editor to the default .txt file extension so whenever the user clicks on a .txt file, at first it will show the "default program" window.…

Zer0
- 1,002
- 1
- 19
- 40
0
votes
1 answer
Restrict Magento customer to Stores
I am using a Magento website with over 10 stores. These stores are managed by different companies. However, if a customer created an account in Store(View) 1, he can also log in on StoreView 2. Is their a way to restrict this and make sure he can…

Armand de Waard
- 21
- 1
- 3
0
votes
0 answers
MS Dynamic CRM Online Multi to Multi relationship Add Associate record issue
I am new to MS Dynamic CRM Online, i have the following multiple to multiple relationship setup:
Product to eMartMenu (customized entity)
on the Form of both Entities, I have added a subgrid to each other. However, I am having problem on Product's…
0
votes
3 answers
Find matching key in two associate arrays?
I'm using codeigniter and I have a returned associated array from db like this:
$result = ['name'=>'john', 'author'=>'smith', 'year'=>2011 ];
And a long list of translated title for the keys saved as an array like this:
$lang = ['name'=>'名字',…

reddy
- 1,721
- 3
- 16
- 26
0
votes
2 answers
OneToMany association collection is null in Hibernate application
I am developing a simple Hibernate application to test an OneToMany association. The Entities I use are Employee and Department which has many Employees:
@Entity
public class Department {
@Id
@GeneratedValue(strategy =…

arjacsoh
- 8,932
- 28
- 106
- 166
0
votes
1 answer
PHP - identify and tag related child arrays
So I have a multidimensional array.
Each sub-array contains a value for IDs ... 1+ IDs separated by a hash.
array(
array('name'=>'this', 'ids'=>'x'),
array('name'=>'this', 'ids'=>'x#y'),
array('name'=>'this', 'ids'=>'x#y#z'),
…

theclueless1
- 123
- 1
- 1
- 11
0
votes
1 answer
How to import configurable products and associate simple products by csv
I need to import some configurable products and I already tried to use many types of tables and try to follow different methods as these:
Link 1, Link 2, Link 3, Link 4, Link 5
It works just for import configurable products but don't associate…

André Moura Passos
- 1
- 1
- 2
0
votes
1 answer
Associate App with file extension - Intent filter Not working?
I want my application to be on the list to open pdfs from anywhere in the android environment. I've looked around and added these intents based on what I've read. However when testing and opening a pdf it just opens it using the default application…

user2020457
- 165
- 1
- 1
- 13
-1
votes
2 answers
best way to retrieve data from few mysql tables with php
Need to fetch data from a few tables
-table one has all product details and the product_id
-table two has extra details, associated with the product_id
what is the best way to get data from all tables and perhaps store them in the same array, or at…

Neo
- 1,027
- 3
- 12
- 30
-1
votes
2 answers
Can't specify associate type value in hashmap?
pub trait Observer{
type DataType;
fn new(action: fn(&mut Self::DataType))->Self;
fn update(&self, data:&mut Self::DataType);
}
pub trait Subject{
type ObserverType: Observer;
fn new()-> Self;
fn add_observer(&mut…

초코우유
- 1
- 1
-1
votes
1 answer
Compare Column Values to Mean and Associate 2 Column Names in R studio
The following are the 2 initial columns of our dataset. The column on the left (with numbers) was inserter by R.
The following is another column in our dataset.
We have calculated the mean of all values in this column.
We wish to compare each of…

mcnew
- 39
- 5
-1
votes
2 answers
Creating an Associate array from Laravel db
At the moment I am building an app with flutter but my Laravel api controller doesn't give the appropiate multidimensional array back. I would like to have { [0]=> array,[1]=>array, etc}. If anyone knows the fix for this it would be highly…

Thomas Wijnands
- 31
- 4
-1
votes
1 answer
Association Mining Weka Only 1
I'm trying to apply associate mining using apriori with Weka on my data set that looks like
A B C
1 0 1
0 0 1
1 0 0
But it's only finding rules where its 0 while I only want rules where there are 1s
How can I get around this? I don't want it to…

Joseph Noirre
- 387
- 4
- 20