Magento 1.9 set the order for multiple select attribute product - magento-1.9

I've created a new product attribute of type multiple select from a predefined list.
The problem with multiple select is that I cannot set the order for the selected values into the admin panel. The order is important for the frontend.
I've tried to create, without success, a custom renderer for this attribute.
Any suggestions are welcome.
Thanks

Related

How to create a custom reuseable HTML template populated with data from database?

I have a database containing many records - let's say its a people database and the columns contain Name, Surname, Age, FreeText.
I want that this data to be displayed in a list on my website. Each item in the list should contain the database' row data.
In detail, each list item should be a custom HTML div consisting e.g. of 2 columns, where in the first column the Surname and the Name should be displayed in the first row, the age in the second. In the second column there should be the free text.
There should also be a onClick listener on this item.
I am a Wordpress Beginner, I have no idea how to achieve this. I think the general approach has to be: Get records from DB, create the items dynamically, put the into the list, and display the list on the page.
I purchased the Avada theme for the design, but this kind of functionality does not seem to be included.
Any hints where to start? Do I have to create dynamic php files, and if yes, how? With javascript? Or are there Plugins available which I can use?
i find this plugin for you try this link:
https://wordpress.org/plugins/participants-database/
This plugin offers all the functionality needed to build and maintain a database of people or anything you want. The database is fully configurable, allowing you to define all the fields of information you want to store for each record. The records can be entered individually in the WordPress admin section, imported with a CSV file, or let the individuals themselves create their own record. Display lists of records can be sorted and filtered by any field, and the result exported as a CSV file.

Is there a easy way to compile a list of tables and forms in the database

I am creating a DBA documentation form in the database to help track changes made within the database. Currently, my form is pretty simple it has an ID, date field, table/ form name, control name, change made, and why. I want to add a validation rule or a dropdown that has a list of the tables and forms in the database but I am unsure of how to do this. Does anyone know of an easy way to do this? I want to generate a report that lists the changes made to a form/ table so it is crucial that the names are spelled right.
I found an answer but I will leave the question up in case others have a similar question. I used the following query to generate a list of forms.
Select distinctRow Name
From MSysObjects
Where Type = -32768
Order By Name

MSBI SSRS List Property

I am creating a report using MSBI SSRS. i choose list and inside list i added 2 tables. I used list for splitting the tables according to id. The problem i am facing now is that if there exist repeated/ same values in tables, I am only able to see the value once (as a unique value in the table), but i would like to display all the values present in the table rather than hiding the repeated values. I tried finding the property of the list but I am unable to display all the values which I am able to see while executing MDX.
Thanks in advance for your help.
Since you only provide a general description. you get a general answer.
If you have a lower granularity column, just add that column to you group by inside your List.
Or add a rownumber to your dataset, if possible, and group by the rownumber instead.

dynamic updated multiple select combobox in jsp when values change

I have a web page that looks like this:
the services are stored in a database table with its associated functions... so for each service there is a set of functions associated with it like this:
the database table snapshot shows the set of functions associated with the BatchItemService only, but all other services have their own functions...
what I want to do is to set the function multiple select as invisible and set it to visible after selecting the service name from the services combobox, in addition, I want the function combobox be populated with the function names associated with the service name selected only.. there is also one more thing, the user can select multiple services.. I'm using jsp with mysql database.
HELP please, thank you!

Access Form Field Logic

I'm trying to make access conditionally only show rows that meet a certain condition, allow me to give you some background info before I proceed :
I've created an Access form and linked it to a test DB on my machine. The particular table I am interested in contains the following (important) rows :
ID , Office, Name, SecurityNumber
The thing is, ID is not unique. There are two Office locations, and each Office has it's own set of unique ID numbers. This means that ID 10 here and there may or may not be the same person. (this data comes out of a legacy security system we're not looking to change yet, so I cannot change it)
But ID -is- unique to each Office.
SO! I created an Access form with TABS! Two tabs, one for each office. What I am trying to achieve now is :
Have the ID/Name/SecurityNumber fields for each tab populate with only rows that match it's particular 'Office' value.
Thank you for reading and thank you for helping! :D
If you want the data for the office locations presented in separate tab page controls, you could use subforms on the pages which differ only in the WHERE clause of the queries used as their record sources. So for the Office1 subform, the query could be:
SELECT ID, Office, [Name], SecurityNumber
FROM YourTable
WHERE Office = 'Office1'
ORDER BY [Name];
Then for Office2, the query would be the same except for the WHERE clause:
WHERE Office = 'Office2'
As I understand your question, that approach would do what you're asking for.
However, that's not really the easy "Access way" to do it. Instead consider a combo box control to allow your users to choose which office they want to view. In the code for the combo's after update event, either modify the SELECT statement used as the form's record source or create a filter expression an apply it.
Also, since you're pulling the form's data from SQL Server, consider whether you want your form to load every record for the selected office location. It may not be much concern if you have only a few to moderate number of rows for each location, but if you'll be dealing with multiple thousands of rows it could be. In general, you should try to avoid pulling copious amounts of data across the wire; pull sparingly instead ... only what you need for the immediate task at hand.