Quantcast
Channel: ASPRunner forums
Viewing all 2520 articles
Browse latest View live

phprunner 9.8 strip datetime filter

$
0
0
This code bellow working version on 9.7
AND t1.STARTTIMESTAMP BETWEEN CONVERT_TZ(
	'2017-07-06 10:08',
	'+07:00',
	'+00:00'
)
AND CONVERT_TZ(
	'2017-07-07 10:08',
	'+07:00',
	'+00:00'
)

after the upgrade all code behind : will striped
AND (
	`t1`.`STARTTIMESTAMP` BETWEEN CONVERT_TZ(
		'2017-07-06 10',
		'+07',
		'+00'
	)
	AND CONVERT_TZ(
		'2017-07-07 10',
		'+07',
		'+00'
	)
)

Running totals and printing only part of the data

$
0
0
Hi at all,

I am using running totals in a car logbook solution and followed the tips given here. Works nicely.

Problem is, that the running totals for the total mileage only show the correct result, if all records are shown in the correct order.

If you change the order or want to print lets say only May from a year´s logbook, you get nonsense values.

Is there a way to print partial reports with correct running totals without saving the totals to a field in the database? That is not only taking space, but problematic too, if records can be deleted or corrected.

Check first character on import

$
0
0
Hello,

I am doing an import and I'd like to only import rows that have a numeric value for the first character of one of the fields. If this can be done, I'm assuming I would use "Before insert record" event. And maybe something like:

if (Char.IsDigit(rawvalues["MyField"][0])) {
return true;
} else {
return false;
}

But I am really out of my element with this. Thoughts?

ASPR .Net 9.8, build 29073.

Thanks,
Tim

Validation on Child Table

$
0
0
Hi Guys,

Can you please advise where do I find more information regarding display Detail table ?

I have added a Tab on Add page with relation to another table using display Detail Table feature.

Now I see Inline Add, Add button to add record to that linked table.(Child Table)


I have some required field on linked table (child Table) but I found when user adds record via Add Page on master Table and click on Save records. it does not ask users to fill required fields (or validate) on child Table till user fill at least 1 record under child table.

I want to force users on Add page fill Master Table and Childs Tables required field before save.

Thanks

Web Deploy asprunner.net projects

$
0
0
Hi,

How can we implement Web Deploy in asprunner.net projects? As you know, it is much more faster than FTP deployment. and it is uploading only changed files. So the deployment is significantly faster.

It may be very useful if we don't have FTP access to the server.

Is there anybody using Web Deploy with asprunner.net projects?

Thanks.

arabic google fonts

$
0
0
Hello
I want to know to use Google Fonts on phprunner 8

I tried to include In the HEAD section of my page (Visual Editor in HTML mode) the line:

Quote

<LINK href="https://fonts.googleapis.com/css?family=Cairo" rel="stylesheet">

Then in Custom CSS I added this:

Quote

.body {
font-family:'Cairo', sans-serif !important;
}}

But this does not work.

I generating a multiple language application which Arabic is the main language
Please help

Projects not saving/reverting back

$
0
0
Hi all,

I'm just wondering if anyone else has seen this behavior. I think it may be just in 9.8, but I've seen it a few times now where I have made some changes, saved and closed the project, then reopened it and the changes were gone. It's like it reverted back to an earlier version.

I have more details, but I thought I'd start by seeing if anyone else has seen anything similar. Let me know.

Thanks,
Tim

drop-down list

$
0
0
Hi,

I have created 2 tables - tableA and tableB.

For tableA, "After table initialized", I have written a code to allow userA only able to view the records that has his name appeared under a column.
$query->addWhere("columnA='".$_SESSION["userA"]."'");


For tableB, I have a column which I used "Lookup Wizard" and link field is based on tableA.

My expected outcome:
1) I need to make userA only able to view his own record in tableA => this is ok
2) For tableB, the column which link to tableA, I need to show all the records in the drop-down list. My current issue is that the drop-down list only appear what he can see in tableA. Can anyone advise on this?

Thanks.

Wrong image rotate

$
0
0
Hi,
In my projects upload image (i want make a gallery) is wrong image rotate. I search in forums, find in uploadhandler.php next:
// Set to true to rotate images based on EXIF meta data, if available:
$this->options['image_versions'] =  array();
		if ($options)
		{
			foreach($options as $key=>$value)
			{
				if(array_key_exists($key, $this->options))
				{
					$this->options[$key] = $options[$key];
				}
			}
		}

Can you help me do the image rotate right.
Thank you.
Regards,
Rimantas

Switching from old style layouts to Bootstrap

$
0
0
You have probably noticed that most of new functionality related to application appearance is added to Bootstrap layouts only. We would love to see more users switching to Bootstrap as it makes things easier for everyone. Supporting multiple layouts means more work for us and we would rather work on adding new and exciting functionality.

If you still use old style layouts, what prevents you from switching to Bootstrap?

Be specific if you can, post some screenshots or some links. Your feedback is greatly appreciated!

boostrap help

$
0
0
Hi, I want my list to be proportional to the page, your idea for a full page presentation

Posted Image

Posted Image


thx

Date Format

$
0
0
Hi Gurus,

Currently, within my list box, I format my date as dd/mm/yyyy.

What must I do to display 5 July 2017 as 05/07/2017 instead of 5/7/2017.

Thanks.

Kelvin Chua
SINGAPORE

Date Format + $ for Currency

$
0
0
Hi Gurus,

I resolved my date issue my select English (United Kingdom) at the Misc, Regional Settings.

But upon solving one, another issue is created. Because I selected English (United Kingdom), all the currency sign became '£'.

How can I achieve date format with leading zeros and yet retain the '$' for my Currency sign?

Thanks.

Kelvin Chua
SINGAPORE

Change width of Bars in Bar Chart

$
0
0
Hi,

Is there a way to set the width of each bar (e.g. as a percentage) of a bar chart and also to set the width of the gap between bars?

Thanks

Repeated title on each page

$
0
0
hi

report print page
Repeated header and footer on each page ?

Port used for browser link

$
0
0
Good day,

Through reading other posts on this subject I learned that the internal web server on 9.8 assigns a random port between 8085 - 8090.

Is there anyway to change the port that was generated or even keep it static ?

I tried to use IIS server on Windows Server 2012 but got bad host name error on my browser.

additional where tabs

$
0
0
Hi all,

The `additional where tab` in the query page is a beautifull enhancement. I have a table with appointments from a year back to next year. Would it be possible to create a tab to show only the "date" from now on. I think this may require a dynamic clause; today's date. How would I go about?

All the best,

Jack

Pagination question

$
0
0
Hi,
I use PHPRunner 8.0, and I have come across a strange issue.
I set up a page with list and view form, but whenever I click on "Next", with the intention of going to the next page, the list page takes me 10 pages further, eg. from page 1 to 11 instead of from 1 to 2.

Could someone tell me where I can set the pagination value please?
All help will be very much appreciated.
Thank you in advance.

Double-Click Event

$
0
0
Is There a way to get a Double-Click Event instead of only single click? I have a drop down multi row list (I'm assuming this is the only way to get a list box) when user clicks on an item it fires an event to add value to another table, but I don't want the event to fire unless user is sure hence the double click as it's purposeful.

This might also work with multi select list boxes that can go from one box to another and only fire event on save but I don't see this option anywhere. Any Ideas.

Click Events on Other Layouts

$
0
0
Hi,
The addition of Click Actions for fields or rows in List View is a major bonus. Does anybody know of a way to emulate the same behavior on other layouts? Being able to open external reference pages in a native pop-up would be incredibly useful on an Edit or Detail layout.
Thanks!
Viewing all 2520 articles
Browse latest View live