In Edit SQL Query, I have a simple query to display a table (no WHERE clause), but Results remains empty. I have synchronized the database, and all of my tables show, but I do not know how to be sure my project is connected. And if connected, why don't I see any results?
↧
No Results show
↧
[SOLVED] RFID App
Im scanning rfid tags and http posting to a mysql database , I have 2 tables, a "session" table where I scan rfid tags per production parts bin (100 tags) when operator finished they delete this data from the table so what I want do is still have a "session table" but have another table in which all the data is stored and not deleted. I need both tables to be displayed & searchable. I have been at this for 2 days and cant figure out how to do this in PHPrunner.
↧
↧
SESSIONS in SQL QUERY
Hello Everyone!
Has anyone been able to put a Session variable into the SQL Query? I need some dates into the sql query to be dynamic but I've had little success accomplishing this in PHPRunner. Here is the query.
Has anyone been able to put a Session variable into the SQL Query? I need some dates into the sql query to be dynamic but I've had little success accomplishing this in PHPRunner. Here is the query.
SELECT timecard.tm_id, timecard.case_no, timecard.tm_date, CONCAT(last_name,' ',first_name) AS client_name, SUM(tm_hours) AS hours_completed, (SELECT max_hours FROM pos WHERE pos.case_no = timecard.case_no AND '2017-08-01' <= end_date AND '2017-08-31' >= start_date) AS max_hours,// this date have to be dynamic. '".$_SESSION["StartDate"]."' this won't work ((SELECT max_hours FROM pos WHERE pos.case_no = timecard.case_no AND '2017-08-01'<= end_date AND '2017-08-31' >= start_date) - SUM(tm_hours)) AS missing_hours FROM `timecard` INNER JOIN consumers ON timecard.case_no = consumers.case_no GROUP BY timecard.case_no ORDER BY client_name ASC
↧
WebRoot Infection File
Hi,
Webroot (security software) is saying my computer is infected with the following files:
:\program files\phprunner8.1\validation\php4ts.dll
c:\program files\phprunner8.0\validation\php4ts.dll
Should I remove them with Webroot or are they important to the functioning of PHPRunner? Thanks,
Brett
Webroot (security software) is saying my computer is infected with the following files:
:\program files\phprunner8.1\validation\php4ts.dll
c:\program files\phprunner8.0\validation\php4ts.dll
Should I remove them with Webroot or are they important to the functioning of PHPRunner? Thanks,
Brett
↧
Hide field in print page based on data in master table
How to hide field in print page (detail table) based on data in master table?
hidefield works only in inline add/edit page (list page > before display event in detail table)
hidefield works only in inline add/edit page (list page > before display event in detail table)
//read data from master table $data = $pageObject->getMasterRecord(); $_SESSION["MySession"]=$data["price_level"]; //hide field in detail table if($_SESSION["MySession"] == '1'){ $pageObject->hideField("field1"); $pageObject->hideField("field2"); $pageObject->hideField("field3"); $pageObject->hideField("field4"); }
↧
↧
Button redirect
I have inserted a button in the Add page and on Client Before Tab, insered this code which is working fine.
header("Location: aaa_list.php?orderby=dlog_date");
But I want some conditions i.e
if userid=1
header("Location: aaa_list.php?orderby=dlog_date");
else
header("Location: bbb_list.php?orderby=dlog_date");
How do I put in these conditions on Buttons Event.
Thanks in advance
header("Location: aaa_list.php?orderby=dlog_date");
But I want some conditions i.e
if userid=1
header("Location: aaa_list.php?orderby=dlog_date");
else
header("Location: bbb_list.php?orderby=dlog_date");
How do I put in these conditions on Buttons Event.
Thanks in advance
↧
How to add Slide Show in PHPRunner 9.6
Hi Guys, I am trying to add a simple standard slideshow from http://slidesjs.com/examples/standard/. Can someone help me where to place the .js files in which folder and how to call the script. I have gone through this for almost 2 days from all over the internet and I can't get it to work. I just need some pointers from any expert here.
I have downloaded the zip files from http://slidesjs.com/ and it contains the below 3 files. I have no idea where to place these 3 files to make it to work. I wish there is a tutorial or a step by step example in the PHPRunner help file.
1. jquery.slides.coffee
2. jquery.slides.js
3. jquery.slides.min.js
I would like to say thank you in advance to all who can help me here.
Regards,
Danny.
I have downloaded the zip files from http://slidesjs.com/ and it contains the below 3 files. I have no idea where to place these 3 files to make it to work. I wish there is a tutorial or a step by step example in the PHPRunner help file.
1. jquery.slides.coffee
2. jquery.slides.js
3. jquery.slides.min.js
I would like to say thank you in advance to all who can help me here.
Regards,
Danny.
↧
[SOLVED] Update two fields from list page via button
I can successfully update one field (a checkbox) on all selected records on the list page, but when trying to get the second one to work, it doesn't. I don't know if it's because it's the second field or if it's a date field, but I get 0/0/0000 as a result. What's wrong with my code:
global $dal; while ( $data = $button->getNextSelectedRecord() ) { $sql = "Update TimeCard set supervisorApproved='1' where id=".$data["id"]; CustomQuery($sql); $sql = "Update TimeCard set dateApproved='Date()' where id=".$data["id"]; CustomQuery($sql); } $result["txt"] = "Records were updated.";
↧
Search Suggestion Error
Hi,
When I type a letter on search input on the top left of the page, I got the following error. It is the same in Advanced Search as well. but if I click on Search button, it is ok. it gives me results. But problem is with search suggestion.
Image of error
And this is the Console message:
:8085/searchsuggest/?table=dbo_Customers Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I tried with asprunner.net 9.8 build 29213 x86 on windows 7 with Microsoft SQL Server 2012 - 11.0.2218.0 (X64)
When I type a letter on search input on the top left of the page, I got the following error. It is the same in Advanced Search as well. but if I click on Search button, it is ok. it gives me results. But problem is with search suggestion.
Image of error
And this is the Console message:
:8085/searchsuggest/?table=dbo_Customers Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I tried with asprunner.net 9.8 build 29213 x86 on windows 7 with Microsoft SQL Server 2012 - 11.0.2218.0 (X64)
↧
↧
Program terminates unexpectedly
Hi I am using a registered and paid for copy of V. 8.1 Build 25268 x86 converted from trial. Am able to make new projects and save them. But when I try to open them, (or any previously created projects from other versions) program terminates (closes). Tried several times and after reboot. No change. Also 'PHPRunner Trail 8.1 (Build ...) ' still shows on top of main window. Also I have 64 bit Windows. Does the x86 mean I am running the wrong version? Thanks.
↧
Lookup Wizard
can i access in the where expression on the lookup wizard a field value from the same add page which i fill out before i click to the lookup wizard field?
something like this:
"prefix <> (SELECT aeronave FROM reserva_voo where data = 'values(date)' and reserva = 'values(time)')"
the values(date) is a data field in the addpage
the values(reserva) is a data field in the addpage
after i fill out this to field i click on the lookup wizard field
thank you for any help
something like this:
"prefix <> (SELECT aeronave FROM reserva_voo where data = 'values(date)' and reserva = 'values(time)')"
the values(date) is a data field in the addpage
the values(reserva) is a data field in the addpage
after i fill out this to field i click on the lookup wizard field
thank you for any help
↧
Line chart order (x axis)
In the google jsapi line chart exist an command "direction: -1"), command for reverse sorting of data.
For example, sorting a query by date and time in "order by desc" and having the last data left left,
lowest date left highest to right, and not vice versa as query output.
Can not get it with the php runner "line charts", unless I create a support table, which I would avoid.
Existing documentation did not help me, is there a way to implement it in the phprunner chart?
Tnx.
For example, sorting a query by date and time in "order by desc" and having the last data left left,
lowest date left highest to right, and not vice versa as query output.
Can not get it with the php runner "line charts", unless I create a support table, which I would avoid.
Existing documentation did not help me, is there a way to implement it in the phprunner chart?
Tnx.
↧
JavaScript OnLoad event AJAX
Having trouble getting the Javascript onload event with AJAX enabled on list page to work in PhpRunner 9.8. The event will work on page load but not after a search pannel query.
↧
↧
Organize Data in two columns
Hi. I've searched all over and I can't seem to figure out how to do this. I have a data sent that I want to display / print in two columns. When I select two columns, the data displays as such:
1 2
3 4
5 6
7 8
But, I want the data to be arranged down first then right, like this:
1 5
2 6
3 7
4 8
Is there a way to accomplish this? I'm running PHPRunner with MySQL Database.
Thank you in advance for any direction you can provide.
1 2
3 4
5 6
7 8
But, I want the data to be arranged down first then right, like this:
1 5
2 6
3 7
4 8
Is there a way to accomplish this? I'm running PHPRunner with MySQL Database.
Thank you in advance for any direction you can provide.
↧
Print report directly
I need a way to print a report directly from the webpage. This page has the variable which needs to be transferred to the report.
↧
Forum search is broken
I get no results on searches of the forums anymore on any browser.
I may as well ask here since I can't search for it: Is there a way to hide fields by user rights without creating separate views? I already have 3 master table views and I really don't want to have to make different views for the 13 details tables I have.
Oh, and please fix the search or let me know what I'm doing wrong.
Thanks!
I may as well ask here since I can't search for it: Is there a way to hide fields by user rights without creating separate views? I already have 3 master table views and I really don't want to have to make different views for the 13 details tables I have.
Oh, and please fix the search or let me know what I'm doing wrong.
Thanks!
↧
barcode live demo problem
when i try to use barcode live demo link, this is the result:
PHP Warning: odbc_connect(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'., SQL state S1000 in SQLConnect in C:\UserAccounts\www\volinrok_yahoo_com\NewPlugins_20140612120507\include\dbconnection.odbc.php on line 9
PHP Fatal error: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'. in C:\UserAccounts\www\volinrok_yahoo_com\NewPlugins_20140612120507\include\dbconnection.odbc.php on line 12
thanks
Fabio
PHP Warning: odbc_connect(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'., SQL state S1000 in SQLConnect in C:\UserAccounts\www\volinrok_yahoo_com\NewPlugins_20140612120507\include\dbconnection.odbc.php on line 9
PHP Fatal error: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'. in C:\UserAccounts\www\volinrok_yahoo_com\NewPlugins_20140612120507\include\dbconnection.odbc.php on line 12
thanks
Fabio
↧
↧
pass values to button in add page
Hi,
if I insert a button in add page, how may i pass the values of compiled fields (before press save) to the button in Client Before?
thanks
Fabio
if I insert a button in add page, how may i pass the values of compiled fields (before press save) to the button in Client Before?
thanks
Fabio
↧
[SOLVED] Switching language in Bootstrap
A few of my users have complained that it's too inconvenient for people to see that my generated applications are available in other languages, because the option is hidden behind the settings gear icon. I think they have a point. Is there a way we can add text links or a drop-down language selector to the page header?
↧
Signature Pad Files
Hi All
Created my signature pad and it works. Users can sign and draw whatever they like and it saves it into the database field as below, but when I view it, I see no image. The properties of the image are below
Database Field Data
Website Signature Field
Signature Pad Proerties
I have folders in my www/files
and also in www/shark/files
I will change the
To
Cheers
Paul
Created my signature pad and it works. Users can sign and draw whatever they like and it saves it into the database field as below, but when I view it, I see no image. The properties of the image are below
Database Field Data
[{"name":"files\/hl4h5smbo07u8v7.png","usrName":"signature.png","size":false,"type":"image\/png","searchStr":"signature.png:sStrEnd"}]
Website Signature Field
http://192.168.2.17/shark/images/no_image.gif
Signature Pad Proerties
// signature field height $this->settings["height"] = 100; // signature field width $this->settings["width"] = 300; // signature background color $this->settings["bgcolor"] = array(0xff, 0xff, 0xff); // set it to true to make signature field required $this->settings["required"]=false; // folder to store signature files $this->settings["folder"]="files";
I have folders in my www/files
and also in www/shark/files
I will change the
// folder to store signature files $this->settings["folder"]="files";
To
// folder to store signature files $this->settings["folder"]="images";and see if this works in the meantime.
Cheers
Paul
↧