Quantcast
Channel: ASPRunner forums
Browsing all 2586 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Sorting 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 Article


Advice 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 Article

sessions 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 Article

Doing 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 Article


PHPExcel - 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 Article

Error 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 Article

Help 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 Article


how 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 Article


Freeze column

Is there a way to freeze first column on list page?

View Article

Freeze columnist

Is there a way to Freeze first column and first row?

View Article

launch 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 Article

update 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 Article


Changes 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 Article


Filter 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 Article

Auto 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 Article


Settings 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 Article

Many-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 Article

Not 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
Browsing all 2586 articles
Browse latest View live


Latest Images