Alright. The thing here is that you cannot connect different tables when their structure isn't the same.
For instance - your tables for villavolta and coolboy93 look like this:
Datum | Bier | Wijn | Wodka | Whiskey | Water Fles | Boekje | Hoeveel Geld
While the table you had in mind of making a cash register looks like this:
Producht | Prijs | Ingekocht | Verkocht | Vooraad
So, when you insert a number in column "Bier", it can be assigned to another column in the other table, but you're asking for conditional logic where the plugin would add it to another column + a specified row. It cannot do that.
If you know your way around SQL, you may be able to do that using PIVOT function, but please note that this doesn't fall under included support of the plugin.
Good idea on posting a public ticket about this, there may be someone willing to help.
Like I mentioned before - this would be considered custom work, which is not included in the support of the plugin, so I cannot tell you how to do it, but I can share some links with you:
When it comes to questions like this, you may also want to search stackoverflow, it has a lot of data and instructions about SQL, and other programming languages.
Who can help
Hi again kevin.
Alright. The thing here is that you cannot connect different tables when their structure isn't the same.
For instance - your tables for villavolta and coolboy93 look like this:
Datum | Bier | Wijn | Wodka | Whiskey | Water Fles | Boekje | Hoeveel Geld
While the table you had in mind of making a cash register looks like this:
Producht | Prijs | Ingekocht | Verkocht | Vooraad
So, when you insert a number in column "Bier", it can be assigned to another column in the other table, but you're asking for conditional logic where the plugin would add it to another column + a specified row. It cannot do that.
If you know your way around SQL, you may be able to do that using PIVOT function, but please note that this doesn't fall under included support of the plugin.
Best regards.
Hi kevin.
Good idea on posting a public ticket about this, there may be someone willing to help.
Like I mentioned before - this would be considered custom work, which is not included in the support of the plugin, so I cannot tell you how to do it, but I can share some links with you:
https://stackoverflow.com/questions/7674786/mysql-pivot-table
https://modern-sql.com/use-case/pivot
https://dba.stackexchange.com/questions/164711/how-to-pivot-rows-into-columns-mysql
When it comes to questions like this, you may also want to search stackoverflow, it has a lot of data and instructions about SQL, and other programming languages.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables