New Answers to Old Questions Headquar

Where the New Answers to the Old Questions are logged. If you ...
May 13, 2018 07:00
0
Q: Nancy Self host get list of all connected clients` IPs

indagoI have a console application in C# with nancy self host, it currently works well, we can access session data with the Request.Session object. My question is how can we get a list of all the connected clients in a module or Program class? like a list of ips and session ids so that we can access an...

 

C#

General discussions about the c# language, Squirrels | gist.gi...
May 13, 2018 06:58
0
Q: Nancy Self host get list of all connected clients` IPs

indagoI have a console application in C# with nancy self host, it currently works well, we can access session data with the Request.Session object. My question is how can we get a list of all the connected clients in a module or Program class? like a list of ips and session ids so that we can access an...

 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Mar 1, 2014 07:44
0
Q: Get contents of a tag with a particular class from a remote url in a different domain

indagoI am trying to get the current english premier league table from http://www.premierleague.com/en-gb.html but i dont want the whole website, i just want the league table only, if you look keenly at the page source the <table> tag which has the league table doesnt have an id but has the class .leag...

Mar 1, 2014 07:32
anyone farmiliar with cross domain requests in chrome applications?
Mar 1, 2014 07:31
Hi everyone!
 

MySQL and relational databases

Ask your question, and then hang around a while to see if an e...
Feb 7, 2014 10:41
@TehShrike yes thanks,if you have any suggestions please feel free to add you version of the answer or any performance changes, i will be glad to hear your view
Feb 6, 2014 08:27
@TehShrike I have tried to add more detail on the question, please read it and if you want me to clarify anything just ask
Feb 6, 2014 08:07
@TehShrike fine let me add some more details to the question
Feb 5, 2014 07:42
0
Q: Calculate running balance per product in mysql view

indagoI have a view in mysql that i use to check the current inventory of our product in the store,It herehas been working very fine with one product. Here is the view SELECT a.`id` AS `Trans No`, a.`tdate` AS Siku, a.`section` AS `Section`, `g`.`p_name` AS `Product`, a.`cr` AS `In...

Nov 15, 2013 06:23
0
Q: select row values to be column titles in mysql select

indagoI have two tables in MySql, shareholders id name value 1 harry 20 2 mark 60 3 richard 20 the second table is transactions id date amount 1 2013-11-01 2000 2 2013-11-01 150 3 2013-11-01 300 4 2...

 

Web Developers

Room to discuss javascript and jquery, php and mysql issues. b...
Feb 6, 2014 14:20
@KumarShanmugam bye, once a gain thanks! i owe you one...
Feb 6, 2014 13:42
yeah
Feb 6, 2014 11:46
@CJRamki yeah man, it has been nagging me since yesterday!
Feb 6, 2014 11:39
@KumarShanmugam thanks, i have tested it and its working! thanks alot,please answer it on the main SO question then i can accept the answer so even others will benefit from it
Feb 6, 2014 11:34
Feb 6, 2014 11:33
@KumarShanmugam yeah thats what i wanted,let me test it again then i give you feedback
Feb 6, 2014 11:24
@JqueryLearner its the HTML element being affected for that case it was 'body'
Feb 6, 2014 11:23
in the cr(product getting in) and dr(product getting out) fields store the quantities of the product for that transaction, you will find one has a value the other has 0
Feb 6, 2014 11:21
each time a product leaves the store a record is inserted in the trn_inventory table
Feb 6, 2014 11:21
@KumarShanmugam each time a product enters the store a record is inserted in the trn_inventory table
Feb 6, 2014 11:12
@JqueryLearner the line el: $("body"), should explain this, its the DOM element the view is applied to
Feb 6, 2014 10:53
later
Feb 6, 2014 10:53
@CJRamki when there is alot of work you can post data of an older date
Feb 6, 2014 10:52
@CJRamki yes
Feb 6, 2014 10:51
dont even use the view just write the select query
Feb 6, 2014 10:50
@KumarShanmugam yes its transaction date
Feb 6, 2014 10:42
Feb 6, 2014 10:40
@CJRamki still not working can i give you the sql fiddle you try?
Feb 6, 2014 10:15
@CJRamki let me try
Feb 6, 2014 10:11
@KumarShanmugam ye i tried but it was giving me wrong output, can you see the sample i provided
Feb 6, 2014 10:10
@CJRamki yes i need the balance for each product, but the current query is giving me balance for all products
Feb 6, 2014 10:09
@ASR let me look for one
Feb 6, 2014 10:02
@KumarShanmugam no the table mst_product i just use it to get the product name only because in the trn_inventory table i only keep the product id(p_id) the inventory table is where i store the transactions
Feb 6, 2014 10:00
@ASR you can use javascript
Feb 6, 2014 09:57
yes balance
Feb 6, 2014 09:55
you see its totalling all products
Feb 6, 2014 09:55
@KumarShanmugam i want the running balance to show per product
Feb 6, 2014 09:54
@KumarShanmugam hi!
Feb 6, 2014 09:50
anyone good in mysql queries?
Feb 6, 2014 09:49
@KumarShanmugam hi
Feb 6, 2014 09:49
@CJRamki hello
Feb 6, 2014 09:13
@ASR hi
Feb 6, 2014 08:34
hi guys!
Feb 6, 2014 08:33
0
Q: Calculate running balance per product in mysql view

indagoI have a view (vwbalance) in mysql that i use to check the current inventory balance of our product in the store,It has been working very fine with one product. Here is the view CREATE VIEW vwbalance AS SELECT a.`id` AS `Trans No`, a.`tdate` AS Siku, a.`section` AS `Section`, `g`.`p...

Feb 5, 2014 07:43
0
Q: Calculate running balance per product in mysql view

indagoI have a view in mysql that i use to check the current inventory of our product in the store,It herehas been working very fine with one product. Here is the view SELECT a.`id` AS `Trans No`, a.`tdate` AS Siku, a.`section` AS `Section`, `g`.`p_name` AS `Product`, a.`cr` AS `In...

 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Feb 6, 2014 08:40
i have the full query, am just missing on the grouping...
Feb 6, 2014 08:39
the question is small its just i needed to explain in detail
Feb 6, 2014 08:38
0
Q: Calculate running balance per product in mysql view

indagoI have a view (vwbalance) in mysql that i use to check the current inventory balance of our product in the store,It has been working very fine with one product. Here is the view CREATE VIEW vwbalance AS SELECT a.`id` AS `Trans No`, a.`tdate` AS Siku, a.`section` AS `Section`, `g`.`p...

Feb 6, 2014 08:37
can anyone help me out on a small mysql query?
Feb 6, 2014 08:35
hi guys!