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

Drop-down value

$
0
0
Hi,

I have created 2 tables:
- TableA (Attribute: Client, Department, Project) => Project is using drop-down from "Lookup Wizard", the link field is from TableB(Project) with dependent from TableB(Department)
- TableB (Attribute: Department, Project)
Example:
Value of TableB
- DepartmentA, A001
- DepartmentA, A002
- DepartmentA, A003
- DepartmentB, B001

Question: I would need the drop-down list does not appear the project value if it already used by the same client & department in TableA.
Example:
Exist TableA = Peter, DepartmentA, A001. Thus, if a record is keyed Peter, DepartmentA, the Project drop-down value should list only A002,A003.

Can someone kindly help. Thanks.

AD: Inherited group membership issue

$
0
0
If I set up a generated app to allow access to members of a specific AD group, everything works as expected. However, if the user is only a member of a group which is in turn a member of the authorized group, my app does not recognize the user as being authorized. Is this the expected behavior? I would have assumed that nested memberships would work, as they work in other applications.

Assigning ownerid to guest user

$
0
0
When using the "login as guest" option, I need to direct the guest user to a specific set of data based on the ownerid in the user's table. However, the "login as guest" does not seem to have an assigned entry in the users table. How can I assign the guest user to a specific ownerid? Can I add a guest user to the users table?

Error when reseting password - PostgreSQL

$
0
0
Hi,
I´m starting a new project using PostgreSQL. Everything is ok, but when I try to reset password by the "Send the Reset password link" I get the error:

======================================================
#0.
connections\Connection.php:661
trigger_error
1. ERROR: invalid input syntax for type timestamp: "" LINE 1: ...t.JnYIKJLthbowW', "reset_token3"='', "reset_date"=''where"re... ^;
======================================================
#1. 
connections\Connection.php:661
Connection->triggerError
1. ERROR: invalid input syntax for type timestamp: "" LINE 1: ...t.JnYIKJLthbowW', "reset_token3"='', "reset_date"=''where"re... ^;
======================================================
#2. 
connections\PostgreConnection.php:97
PostgreConnection->query
1. update "public"."tusr" set "pwd"='$2y$10$C74TEgfgxqazt1hPnUkVoOGZjFhs7mMeyNTFaHt.JnYIKJLthbowW', "reset_token3"='', "reset_date"=''where"reset_token3"='jasx8t2q47f8xzbyjbqp';
======================================================
#3. 
connections\PostgreConnection.php:110
PostgreConnection->exec
1. update "public"."tusr" set "pwd"='$2y$10$C74TEgfgxqazt1hPnUkVoOGZjFhs7mMeyNTFaHt.JnYIKJLthbowW', "reset_token3"='', "reset_date"=''where"reset_token3"='jasx8t2q47f8xzbyjbqp';
=======================================================
#4. 
classes\changepwdpage.php:233
ChangePasswordPage->changePassword
N/A
========================================================
#5. 
classes\changepwdpage.php:298
ChangePasswordPage->process
N/A
========================================================
#6. 
changepwd.php:184
Global scope N/A
=========================================================

How To Trigger Autofill Field Programmatically (By javascript, Not by physic keyboard)

$
0
0
PHPRunner 9.7 build 28765 x64

When pressing the keyboard keys on "edit box with AJAX popup", can trigger Autofill other field, also trigger autosuggest.

Posted Image

However when I provide a value in the field using javascript, can't trigger autofill other field.

Posted Image

Is there any way that i can trigger autofill and autosuggest using javascript?
Or is there a javascript function created by PHPRunner that I can activate?

I really appreciate and thank you for your answer.

Best RAD Tool on Planet - now, Jobs?

$
0
0
I have been using ASPRunner for many years now. I have used many RAD tools, including IronSpeed, and this is the best RAD tool on the planet, IMHO.

Anyone have any thoughts on finding companies heavily using ASPRunner.NET, and/or, companies looking for contractors that use it?

Help spread the word on this tool so that it gets the financial support it needs to be with us for many years to come.


James

Email Issue

$
0
0
I am using PHPRunner 9.8

1. Sergey wrote a cron file for me to run which will send email messages to task owners oner certain conditions and text messages under
other conditions

2. When I run the cron file I get the following error message

Starting ...
ERROR: SMTP Error: Could not authenticate.
Sending sms to phone 7135982472
Finished

3. It sends the text message OK, but will not send the email

4. The domain is projectlog.net

Upgrading to use DotNet Framework 4.5/4.6

$
0
0
Is there any methods to upgrade the version of .Net framework the project builds as within the ASPRunner application? Other than opening the output in VS and re-compiling there.

Thanks.

Change appearance/location of "Add New" on the fly

$
0
0
Just wondering if anyone knows how to change the appearance/location where the "Add New" link goes.

Currently it appears below the edit box for that field. I would like to move it to be beside the field (maybe directly after it) and only be e.g. a plus symbol. This would make the screen a lot cleaner looking.

TIA

How to disable autoselect on add/edit dropdown list

$
0
0
Hey there fellow scripter.
I got a problem, request some revelation please.

I notice some behaviour of add/edit pages, when you set a column edit with dropdown list.
When only one of items to select, it will always selected automatically.

I's nice and all, considering it saves you time and effort, except for this condition:
I set several column on my table like id_user1, id_user2, id_user3, etc, which all of them looks-up into the same 'user' table,
and of course all links into the same id_user column.

The problem is when only one id_user available to select, all of selection of id_user1, id_user2, id_user3, etc are selected automatically,
into the same id, while only one of them are required to selected.

So basically, i need the id_user1, id_user2, id_user3, are points into different id_user, thus makes
only id_user1 are (automatically) selected, while the rest of then remains unselected.

There it is.
And please bear my lousy english, people, for it is not my native language.

Best regards,
Abe

Bar chart colour

$
0
0
How can I change the colour of the sections of my bar chart?

show record if active

$
0
0
Let me try to explain.

In my project I have records that are active an inactive.
To see witch is witch I colour the inactive ones red.
But some list become longer and longer and I would like to not show the inactive records by default.
Then I want a button to make them show when needed, active and inactive.

The field that makes them active or inactive is called 'status' and inactive = 2.

How can I do this

Refresh page list lost masterkey

$
0
0
When i push f5 or refresh page in a list filtered by masterkey(detail list page ) reload all record of a table

Show/hide columns (PHPR 9.6)

$
0
0
Hello,
Since the PHPR version 9.6 there is the feature "show/hide columns on the list pape in runtime".
This is a really good thing, but I have a question: if you have columns suppressed ("EVENTS/Before display on the list page")
for example:

If ($ _SESSION ['group'] <> "admin")
{
$ Xt-> assign ("k_telefonp_fieldheadercolumn", false);
$ Xt-> assign ("k_telefonp_fieldcolumn", false);
$ Xt-> assign ("k_telefong_fieldheadercolumn", false);
$ Xt-> assign ("k_telefong_fieldcolumn", false);
}

Then these suppressed column titles will still be displayed for select/deselect.
Is it wanted like that? Can you also suppress these desclected columns in the show/hide feature?
Otherwise the customers see the field names, which they should not actually see ...

I hope I could explain my problem. Or did I miss something?

Best regards

taumic

Change Button Caption on Grid

$
0
0
Hello, new to this forum.

I have an ASPRunner NET (9.8) project where I have added buttons to the datagrid, as per the manual.

These buttons are displayed or hidden depending upon a certain condition (value of a field in the db table). This is also per the manual.

All this works fine.

However, I would like to know if it is possible to change the button caption on a row depending upon another condition (for example, the value of a field in the same db table), and, if so, how might I go about doing this.

Any input welcome.

Thanks!

Show Loading... message when user clicks custom button

$
0
0
Using ASPRunner NET 9.8

Is there a way to show a/or Loading... message when a user clicks a custom button?

I know you can select Display "Loading..." box on the list page from the Misc page. But that's not what I want.

Suppose I have a datagrid button which invokes a webservice to update a customer's credit amount. This takes some time to fetch.
In the meantime, I would like to display "Loading..." the whole time the server is working. The standard ASPRunner functionality kicks in when the datagrid is refreshed.

Is there a way to invoke the ASPRunner "Loading..." functionality on-demand or create a custom one?

I tried

Runner.runLoading('');

on the Click Before javascript button event but no joy.

Any thoughts welcome.

List page with search

$
0
0
Hi!
Project don't search russian values at the "List page with search".
How I can solve the problem?

Error displaying the web

$
0
0
Hi,

I am using PHPunner to create a web. I successfully connect to the database and using my own web server.

But when I type the URL, it display error 403.
http://IPAddress/test

I tried to direct the URL to the file but when I add a record and then click "back" button, or I just click search, it will display the following error message.
http://IPAddress/test/project.php

Quote

Non-static method SearchClause::UnserializeObject() should not be called statically, assuming $this from incompatible context


Can anyone kindly help? Thanks.

[SOLVED] Trying to get a link to child table

$
0
0
Hi Guys
I have this code.
SELECT
	ID,
	Make,
	Model,
	SerialNumber,
concat('http://localhost/qrtest/MotorMaintenance_list.php?masterkey1=$data["ID"]&mastertable=Motor') AS LiveurlText
FROM Motor


But I am trying to get this to work, Instead of clicking on the child table, just have a link to click on, that will go to the table for inputting data in the MotorMaintenance_list page from the Motor ID page? But I cant figure it out.

concat('http://localhost/qrtest/MotorMaintenance_list.php?masterkey1=$data["ID"]&mastertable=Motor') AS LiveurlText


Anybody suggest please?
Thanks

mobile desktop radio button missing on style page

$
0
0
In 9.8 with the new mobile 2.

At first I was not seeing the mobile button on the MISC page, then I noticed that there is a release in Program Files and "Program Files (x86)

I put them in both places and the MISC now shows "build Mobile"

however now the style page does not show the new radio button for desktop/mobile and the right click on a page doesn't give the choices as suggested in the manual

Any ideas? Thanks in advance.
Viewing all 2520 articles
Browse latest View live