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

Designer Page V10 - How to reset Layout

$
0
0
Good day all.
I am working with PHPRunner V10 Enterprise edition Build 32272.

If you create a view on a table, the designer page has a default look. If you now make changes to the view like adding buttons etc, its now changed and it works nicely.
If you now go and create a SECOND VIEW on the SAME TABLE, the Designer Page of the second view inherits all settings from your first view you created. Now this can be very handy, or it can be an issue.
How do I reset the second view designer page to the default, so it does not inherits anything from the first view. Like its the first time you are working with this table or view.
But I only need to reset my second view. The first view must stay as is.

Thanks
Corrie

Inline edit on load

$
0
0
Hello,

On load of a list page I'd like to automatically open the first record in the list for inline edit. Looking at the manual, I assume I'd use:

pageObj.inlineEdit.editRecById(recsId[X]);


But I can't get it to work, and I'm not sure what [X] should be. I was assuming [1].

Thanks for any help.
Tim

[SOLVED] SQL inquiry using Field ='$_SESSION["Username"]' not working

$
0
0
I am pretty sure I not doing something right here. Would like some help.

I have a table and in the table people names are added to one field which would match their Username they log in with

I only want these people to see the entries that have their name and not the rest.

this is the Where part I tried to use but is not working


WHERE (`Client-JO-Rec-Assign`.RecuiterName ='$_SESSION["Username"]')

If I use `Client-JO-Rec-Assign`.RecuiterName ="Samantha Deleon" it shows but I need it to check by her Username she is logged in with Which is Samantha Deleon

I pretty positive it is the format I have wrong and hoping someone can point me in the right direction.

Innovaeditor error on Edit Page

$
0
0
Hi,

An error occured on edit page when I use innovaeditor however there is no problem on add new record page.
I would be glad if you can help.

Screenshots;
https://ibb.co/LQLgWKz
https://ibb.co/wwqJqg0


for the solution until now;

Action 1 - I changed the data type on MS-SQL and tested
Result : Error
Field type : nvarchar(250) > error continue on edit page
Field type : varchar(250) > error continue on edit page
Field type : nvarchar(4000) > error continue on edit page
Field type : varchar(4000) > error continue on edit page
Field type : nvarchar(max) > error continue on edit page
Field type : varchar(max) > error continue on edit page
Field type : text

Action 2 - Delete field and create new one with different name on same project
Result : Error

Action 3 - Tested on other fields (text fields) on same project
Result : Error

Action 4 - Tested on different IIS
Result : Error

Action 5 - Clear browser cache, also tested on different internet browser
Result : Error

Action 6 - Delete all files on IIS and rebuild
Result : Error

Action 7 - Create new project with same table and same field
Result : It works

Best Regards,

how to create a form of student academic record?

$
0
0
Posted Image



is it possible to create a form like this?

Webserver unexpectedly

$
0
0
When i open my recently installed PHPRunner 10 I get a Window that says

Webserver unexpectedly finished.

Do you want to attempt to restart it?

Click no to close the application immediately.


if I click no then programme closes. If I click yes it simply after a few moments brings up the same windo. If I do this a couple of times and then attempt to open the programme again it generally loads up ok.

Has anyone experienced this and if so is there a cure?

Regards,
Carl.

Programme Freeze after Double Click of Field to Format

$
0
0
I have recently installed PHPRunner 10 having upgraded from 7.1. I am finding that on Page Designer page that when I select a field in order to get the formatting tool to open my programme freezes. Initially this did not happen but now happens every time. Does anyone have any idea's? I have tried on a new clean install.
Many thanks for reading,
Carl.

Cell Properties Formatting Issues

$
0
0
Under Designer I can see the Cell Properties on the Right Side.

I change the Background to Red of one the cells

It shows up as Red in the Editor Window

But when I upload the files, the Cell is not Red on the website.

What am I doing wrong?

adjust the width of date field on the list page

$
0
0
Hi Guys,

I am building my first project in V10 and I must say it's amazing well done to the runner team.

On a detail table list page i have 8 fields, I plan to use the inline add option for data entry.

The 8 fields are too wide to fit so I have started to adjust the width of the fields on the list page.

In the visual editor of 9.8 I easily could drag to increase the width of the desired field.

in v10 no dragging, so I had some success for normal fields by setting the size using width in px in field properties..

I have a date field with a picker on my list page, it's double the desired size. (see attached image)

Posted Image
https://imgur.com/a/kktBfI4

I need to shrink it but can't for the life of me figure out how to do it.

I have tried setting the width in px for the fields properties with no luck.

I also tried the custom CSS for the specific field with no luck

.style {
width: 150px;
}

Is there a way I can adjust the width of this date field on the list page?

Thanks,
J

External link on bootstrap menu page

$
0
0
hi,

I use a bootstrap welcome page.
I'm trying to add a link to a external page with the same layout

Editing the welcome_page in the editor has no effect.

Can anyone help me out how to create a similar layout for a external page on a bootstrap welcome or menu-page?

Thanks

jacques

[SOLVED] Multiple Step Mode

$
0
0
I am using PHPR 5.6 because I had retired, but the client asked for help. The add and edit screens in the old version used multiple step mode with three steps. I am trying to recreate this but the Totals screen allows me to add two steps and move them to contain the appropriate fields. However, when I add the third step I cannot move the step at all. It remains at the bottom of the field list.

What am I missing? Any help would be appreciated.

Display PDF-File after Click-Action

$
0
0
Hello,

I get a PDF file via FTP to the current server via CLICK ACTIONS / RUN AJAX SNIPPET (Client Before and Server). This file is then located in the directory "/download" on the server.

What is the best way to display the PDF file that has just been moved? Maybe in the area "Client After" via a Runner.displayPopup - or a windows.open - or a location.href=download/Datei.pdf ? (Unfortunately everything didn't work, but the problem probably sits BEFORE the PC ;-) .) The exact syntax for the location of the PDF file (download/file.pdf) would also be important to me.

Maybe it is also important to know that I moved most of the source from the server area to an external file via "header("Location: mt/Down.php"); " because of the FTP transfer.

I've tried a lot already and since I'm quite new to Javascript/Ajax, any hint would be very welcome!

Many thanks in advance

Michael

overflowing list

$
0
0
hi to all the team and members of phprunner, i would like to ask you who of you has already found a solution for the overflow of the list. I will be very grateful for your help. thank you.

Posted Image


I would like to put the list in a scroll to prevent overflow of the page ..... how do you get there?

thank you

PHPR desktop application

$
0
0
Understand there is an option to compile as a desktop application, any way to make it portable? i.e. put in a thumbdrive and run it from any windows pc or laptop?
Thanks

Print search field values in a report

$
0
0
Hi,

I was using PHPRunner 9.6 and recently I moved to PHPRunner 10.

In my project, I was printing dates fields values in reports (Advanced and basic search).
I was using Advanced search for choosing BETWEEN 2 dates and Basic search for only 1 date.

In PHPRunner 10 I have problems with old code because nothing is working properly.

I need help from you guys because I am not a programmer and reason I bought PHPRunner because I could make a very nice project without programming knowledge.

I was using the next code in code snippet, Editor Page, for the printing search field values,

global $strTableName;
if (isset($_SESSION[$strTableName.'_advsearch']))
{
$searchClauseObj = unserialize($_SESSION[$strTableName.'_advsearch']);
}

$fieldSearchData = $searchClauseObj->_where[$strTableName."_srchFields"];


for($i=0; $i<count($fieldSearchData); $i++){
$fName = $fieldSearchData[$i]['fName'];
$val1 = $fieldSearchData[$i]['value1'];
$val2 = $fieldSearchData[$i]['value2'];
$srchCat = $fieldSearchData[$i]['opt'];
$srchNot = $fieldSearchData[$i]['not'];

if ($fName=="Date" && !empty($val1) && !empty($val2))
{
echo ("Report from: "."$val1"."&nbsp"."to: "."$val2");
}

else
if ($fName=="Date" && !empty($val1) && empty($val2))

echo ("Report for: "."$val1");
}


Hope someone will help me or point me in the right direction.

Regards,
Armin

LDAP integration

$
0
0
Hello,
I am using PHPRunner v10. I need to enable LDAP authentication, but can't find any current documentation on how to go about doing so. Has anyone been successful in this?

Question #2 If I was to go to the Active Directory route, how would I do this is a username/password is required to be attach to the application to AD? (the server that the PHPRunner application is running on is CentOS and I cannot add it to the domain as I have no access to do so)

Reverse Proxy

$
0
0
My phprunner projects are behind the apache REVERSE PROXY, the Forgot Password feature returned a wrong URL in the email.

How to fix this?

Hiding fields in JS Onload event

$
0
0
I am having some difficulties with hiding fields on Add and Edit pages in v10. I have converted my application from v9, it is a simple order application where ordering a widget requires the record to list the components that make up the widget, this is done by autofill. The autofilled fields are included on the Add and Edit pages but are hidden on the pages by the JS onload event.

In v9 I have used the Lookup wizard on the Item ordered field and configured the Autofill to populate the component fields, then in the JS onload I have the following code

// Hide fields that are not relevent to the user
$("tr[data-fieldname='single_adult']").hide();
$("tr[data-fieldname='add_adult']").hide();
$("tr[data-fieldname='single_child']").hide();
$("tr[data-fieldname='add_child']").hide();

I can no longer remember where I got this code from, as I can't find it any of the xlinesoft documentation for PHPRunner, and I certainly don't know enough JS to have invented it myself. However it all works as intended. The hidden fields are autofilled and saved in the record in the table.

In v10 with Bootstrap the above code doesn't hide the fields, what does hide the fields is this code:

// Hide fields that are not relevent to the user
pageObj.hideField("single_adult");
pageObj.hideField("add_adult");
pageObj.hideField("single_child");
pageObj.hideField("add_child");

This is exactly as shown in the manual, so quite happy with that.

The problem is that when the fields are hidden then the autofilled values are not saved, if I disable the hide then the fields are autofilled and saved as expected.

Anyone any ideas what I may be doing wrong in v1o?

generated code

$
0
0
hello all,

pls help is anyone know how to reseolve generated code error on server, but not in built in phprunner.
this error not happen in earlier update an changes, but lately i want change/add feature project after a few update and upload some page became error.
If i rebuild the error page, it other pages became error. Sometime all page become error after full rebuild several time and even login page has this error.
this happen in my project in phprunner 9.7 and phprunner 9.8 generated with the same version of when it created.

The error message was:
End tag not found:{END body}Page is broken
or
Parse error: syntax error, unexpected end of file in ...
or
Parse error: syntax error, unexpected ''' (T_ENCAPSED_AND_WHITESPACE) in ..

thank you,
fajar

Details Links

$
0
0
I have a master/detail relationship that shows the detail list screen in-line on the master screen. When I login and show the default 20 records on the master list screen, the master records that do have a detail link display the detail table name and a number of detail records. When I click on that link it displays a list screen of those detail records. This is exactly what I expected.

However, I can click on any of those linked records on screen 1 and it works. If I select any other list page, even if I just change the records displayed on page 1, the detail link no longer works. This is consistent in both Chrome and Edge browsers. The only thing that seems to work is to close the browser and start over, but it still only works on page 1.

Any ideas?
Viewing all 2586 articles
Browse latest View live


Latest Images