Add to fields to make a new field
I have this query and I want to add hour1 + hour2 = thour Not sure how to do that with AS variables SELECT start1, start2, stop1, stop2, miles, other, CONCAT(MOD(HOUR(TIMEDIFF(stop1,start1)), 24)) AS...
View ArticleSorting Columns - Why Letters Instead of Arrows
I can't figure out where I went wrong. The arrows for sorting data in the columns are Letters instead of arrows. Where do fix this? Also, how do I get rid of the sort criteria in the URL?
View ArticleAdvice on implementing secure 'rolling notes' functionality
Hi all, I am hoping that someone might be able to give me a steer on the best way of implementing a feature in my app. The app is essentially a case management system in which a user is required to...
View Articlesessions not working
I am trying to get session variables to work and I can't get [Orgid] => USAFC21 to default. I did a snippet with this print_r ($_SESSION); this is my return po_add.php [UserID] => Aaron Easton...
View ArticleDoing Math in PHPRunner
I find it very difficult to do math functions in PHPRunner. With PHP I would just do: $total = $hours * $regular; $tax = $total * $fed and so forth. $reguler and $fed are in a different table than...
View ArticlePHPExcel - PHPspreadsheet Plugins in General
I added a plugin phpspreadsheet to my source folder PHPspreadsheet as PHPexcel is deprecated in 7.0 php. Xlinesoft is still using PHPexcel . I can send emails as attachments from the old PHPexcel but...
View ArticleError generating window.controlsMap
When generating add and list page of one of my tables i get this code: add <script> window.controlsMap = ; window.viewControlsMap = {"recetas":{"add":{"1":[]}}}; window.settings = ..........
View ArticleHelp with code in event
Hello, I need some help with this code in the Menu Item: Modify event, this code works: if ($_SESSION["GroupID"]!="99999999") { $title = $menuItem->getTitle(); if ($title=="Datos") return false; }...
View Articlehow to select the max date
good day i have a report with using following sql SELECT tblrequisition.OrderConfRefNo, tblrequisition.OurReferNo, tblordersupplydetails.SupplierLink, YEAR(tblordersupplydetails.orderdate) AS `Year`,...
View Articlelaunch an add page (custom view) via a popup from a menu item link
Hi Guys, Any ideas how to launch an add page (which is a custom view) via a popup from a menu item link. This view does not have a list page, just an add! I have attempted multiple version of some of...
View Articleupdate table from List page
How do I update a table from List Page events? for example, I want to calculate the total amount of that day from the amount field and update the same table or another table. Pls, help here.
View ArticleChanges in Editor that lock out Designer
I discovered a quirk about working with the Editor and the Designer together. Apparently, once you make changes to the HTML in the Editor, any ensuing changes in the Designer do not get included in the...
View Article[SOLVED] Code Snippet Problem
function distance($lat1, $lon1, $lat2, $lon2, $unit) { if (($lat1 == $lat2) && ($lon1 == $lon2)) { return 0; } else { $theta = $lon1 - $lon2; $dist = sin(deg2rad($lat1)) * sin(deg2rad($lat2)) +...
View ArticleFilter Lookup Wizard
I am trying to filter a lookup wizard on an Add page. In the Where portion of the lookup wizard I am putting this: fleet_link=':user.fleet_id' (this fleet_id field is in the login table I am using)....
View ArticleAuto Populating Fields on an 'Add Page' Using Field Event
Hi, I'm new to ASPRunner.net I've looked through the forum and found a few threads that have similar questions to this, but I cannot seem to find anything that does exactly what I want. I'm using the...
View ArticleSettings Types
Hello, Various things can be saved to a "settings" table, like column widths, show/hide options, export field order, etc. When I look at the settings table there is a column called "TYPE". Is there a...
View ArticleMany-to-many relation
Hi. I have 3 tables: CONTACT, PERSON, CONTACTPERSON CONTACT: ContactID, ContactName PERSON: PersonID, Firstname, Lastname, Phone, Email CONTACTPERSON: CustomerPersonID, ContactFN, PersonFN Under table...
View ArticleNot show Child tables on the main screen
I have three tables in a One to Many, One to Many relationship. Lets call them Grandparent, Parent and Child. I only want the Main one (GrandParent) to show up on the screen when the user logs in. Then...
View Article