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

Additional WHERE tabs . Item-ID / Design

$
0
0
If you create "additional WHERE tabs" in the "QUERY-Definition", these TABS are not displayed in the Designer?! So you don't just get the "ITEM-ID" and can't change the TABS appearance (background color, etc.).
[With the "ITEM-ID" I want to hide the TABS depending on the user group using (pageObj.toggleItem("ITEM-ID", false )).]

If I have overlooked something? Can I simply find this out elsewhere ("ITEM-ID") or change it (design)?

Many thanks for the effort

Michael

show image in an add

$
0
0
Hi, I would like to know how I could do so that the image shows with a autofill, when I want to add a detail


Posted Image

Modify Interval options for Report Group Fields

$
0
0
I am setting up a standard report in ASPRunner Enterprise 9.1 with the following three fields:
MaterialNumber
DateTime
UsedWeight

The query for the report is using grouping. The interval settings are set to "Normal" for MaterialNumber, and "Month" for DateTime. I really don't want to group the UsedWeight value at all, but if I could set the interval to a really large value (i.e. greater than the maximum "1000s" setting in the dropdown list at the "Report: Group fields" step in ASPRunner), I would get the end result that I want. I found the ASP file (in the includes folder... USAGE_Report_settings.asp) where I can change the group interval directly
setArrElement rgroupField,"groupInterval",100000

But I would prefer to have the ASPRunner project set this value this way without me having to manually edit the ASP file after each build. Is there a way to add to the interval dropdown list in ASPRunner?

[SOLVED] Placeholders Multi Lang

$
0
0
Hi,
I know in new version of PHPRunner, there is Label Editor for add placeholders; however, for old versions, suggested this code:

Go to "Javascript onload Event" and add this syntax:
$( "#value_ContactName_1" ).attr("placeholder", "Please Enter Your Full Name");

How I can use this code for multi language? (english & Germany)

PHPR 10 settings style colors

$
0
0
Hi,

Coming from previous versions of PHPR, version 5 up to 9.7 I am trying to understand the new page editor of PHPR 10 and how I can change colors of each element. Moreover I can see some color files under PHPR/style/colors that cannot undestand how are linked to each theme.
Theme themselves have a color style that seems diferrent to every page. For example I have selected 'darkly' theme and see blue heading title for login page with red message information box, blue/orange for changepasswd page and transparent heading title for add/edit page with green button's background box.

Can someone point me to the starting point on how,to change pages' colors for various elements?

Creating Grid Tabs dynamically Generating Blank screen

$
0
0
I set up the the Dynamic Grid- Tabs and the first time it worked perfect. During a build the program froze and crashed and from that point on no matter what I try when I enter the code for the tabs it creates a blank screen.

Here is what I tried so far:

Deleted all files in the output dir then did a full build. Deleted all files in the web server directory and uploaded all files so everything was clean and new. When I press f12 to troubleshoot the code is:

<html>
<head></head>
<body></body>
</html>

(explains the blank page)


I have reinstalled PHPrunner Enterprise (32133 x64) and rebooted the machine.... Did a scandisk just to be sure.

I am stumped.

Any ideas?
Thank you

Inserting a record into another table

$
0
0
Hello...

I'm a new PHPrunner user working on a order taking/tracking app for a local non-profit organization and I'm stuck. I'm trying to insert a record into another table from the client edit page, into the orders table using a custom button server event. I've tried using examples found in the manual, examples from support and I simply can't get them to work. Here are the two code snippets:

// Insert a record into table
$data = array();
$data["firstname"] = firstname;
$data["middlename"] = middlename;
$data["lastname"] = lastname;
DB::Insert("orders", $data );

This code does nothing, no record is added, nor do I get any errors using chrome developers debugger. I also tried:

global $dal;

$data = $dal->Table("orders");

$data->firstname = $record["firstname"];
$data->middlename = $record["middlename"];
$data->lastname = $record["lastname"];

$data->Add();

I have the same exact results as the above sample. I would very much appreciate any insight to whats going on.

Thanks,

- Steven

add monthly sales

$
0
0
I have a table like this
FCId Reporting_Month Invoice_Date Amount Amount_Todate


I need to add Amount after each invoice entry for every month to amount_todate and i am trying to add the code to list/add/edit events. pls advise.

Creating a Simple PHP To Compare Uploaded CSV file

$
0
0
Hi everyone,

Happy new year to you.

Sorry to trouble you guys, I got a question to ask. Is there any way I can do a php in such a way:

1. mysql consists of 2 tables containing only 1 field each. Each field is a series of 8 digit numbers

2. I need a function that allows me to upload another csv list so that it will compare the entries in the CSV with both the tables for matching numbers.

3. Any matching numbers in table 1 and table 2 will be removed from the csv and I will download the balance data minus the numbers contained in table 1 and table 2.

Hope I don't sound confusing, can anyone point me in the right direction?

Thanks!!
Justin

load image in a list

$
0
0
when choosing the Articulo does not add the image in the Foto column, just in the next Add new(Añadir Nuevo) adds the image of the previous


Posted Image


javascrip

$("[id^=value_id_articulo]").on("change", function(){

var $field=$("#lookup_image");
//alert($field);
$field.hide();
$.ajax({
type: 'POST',
dataType: 'json',
data: {value: this.value},
success: function(data){
if (data.success) {
$field.attr("src", data.src);
$field.attr("style", "max-width:100px;");
//uncomment previous line to set up max width of the image
$field.show();
}
}
});
}).change();


snippet

echo "<br><img style='display:none' id='lookup_image' border='0'>";

load image in a list

$
0
0
when choosing the Articulo does not add the image in the Foto column, just in the next Add new(Añadir Nuevo) adds the image of the previous


Posted Image


javascrip

$("[id^=value_id_articulo]").on("change", function(){

var $field=$("#lookup_image");
//alert($field);
$field.hide();
$.ajax({
type: 'POST',
dataType: 'json',
data: {value: this.value},
success: function(data){
if (data.success) {
$field.attr("src", data.src);
$field.attr("style", "max-width:100px;");
//uncomment previous line to set up max width of the image
$field.show();
}
}
});
}).change();


snippet

echo "<br><img style='display:none' id='lookup_image' border='0'>";

[SOLVED] Additional WHERE tabs . Item-ID / Design

$
0
0
If you create "additional WHERE tabs" in the "QUERY-Definition", these TABS are not displayed in the Designer?! So you don't just get the "ITEM-ID" and can't change the TABS appearance (background color, etc.).
[With the "ITEM-ID" I want to hide the TABS depending on the user group using (pageObj.toggleItem("ITEM-ID", false )).]

If I have overlooked something? Can I simply find this out elsewhere ("ITEM-ID") or change it (design)?

Many thanks for the effort

Michael

How to remove comments in CSS/HTML...

let pick just future date in calendar

$
0
0
Happy new year to everybody.

I have a data field. When i click in the data field on add page the phprunner show me a calender. Now i need that i can only pick date in the future.... like tomorrow or more.

Any help please?

favicon.png Web Page Icon

$
0
0
Clearly put where should we insert the

<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">


in order to specify the icon display on the web browser tab?

In previous version I used to modify templates/layout pages to add it but this is NOT upgrade safe


	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pagetitle}</title>
             	....
		<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
	</head>


[SOLVED] close a popup after add a record

$
0
0
How can I close a popup after adding a record and refresh the page list? Please Help me!

Getting Microsoft VBScript runtime error '800a01a8' after moving the site to a new windows 2016 server

$
0
0
After moving our site to a new windows 2016 server I get this message when trying to open the site. We have made any changes to the application

Microsoft VBScript runtime error '800a01a8'

Object required: 'Session'

/ptpe/include/dbcommon.asp, line 18

This is line 18 in the dbcommon.asp file

Session.LCID = 1033


I have double checked the application pool user security rights and I have the pipeline set to classic.

Any Idea's?

[SOLVED] Creating Grid Tabs dynamically Generating Blank screen

$
0
0
I set up the the Dynamic Grid- Tabs and the first time it worked perfect. During a build the program froze and crashed and from that point on no matter what I try when I enter the code for the tabs it creates a blank screen.

Here is what I tried so far:

Deleted all files in the output dir then did a full build. Deleted all files in the web server directory and uploaded all files so everything was clean and new. When I press f12 to troubleshoot the code is:

<html>
<head></head>
<body></body>
</html>

(explains the blank page)


I have reinstalled PHPrunner Enterprise (32133 x64) and rebooted the machine.... Did a scandisk just to be sure.

I am stumped.

Any ideas?
Thank you

[SOLVED] Inserting a record into another table

$
0
0
Hello...

I'm a new PHPrunner user working on a order taking/tracking app for a local non-profit organization and I'm stuck. I'm trying to insert a record into another table from the client edit page, into the orders table using a custom button server event. I've tried using examples found in the manual, examples from support and I simply can't get them to work. Here are the two code snippets:

// Insert a record into table
$data = array();
$data["firstname"] = firstname;
$data["middlename"] = middlename;
$data["lastname"] = lastname;
DB::Insert("orders", $data );

This code does nothing, no record is added, nor do I get any errors using chrome developers debugger. I also tried:

global $dal;

$data = $dal->Table("orders");

$data->firstname = $record["firstname"];
$data->middlename = $record["middlename"];
$data->lastname = $record["lastname"];

$data->Add();

I have the same exact results as the above sample. I would very much appreciate any insight to whats going on.

Thanks,

- Steven

add monthly sales

$
0
0
I have a table like this
FCId Reporting_Month Invoice_Date Amount Amount_Todate


I need to add Amount after each invoice entry for every month to amount_todate and i am trying to add the code to list/add/edit events. pls advise.
Viewing all 2520 articles
Browse latest View live


Latest Images