Hello.
This is a field from my database that I have successfully display it into webpage.
The question is how do it do to calculate total sum of the field (calculate sum of every row on that field)?
Does it need to be done in srvroutine or in evtroutine at webpage?
Please help.
Regards
Search found 10 matches
- Thu Oct 20, 2016 10:25 pm
- Forum: Questions & Answers
- Topic: Sum Cclculation in Lansa
- Replies: 2
- Views: 7015
- Thu Oct 20, 2016 12:50 pm
- Forum: Questions & Answers
- Topic: Stored Procedure
- Replies: 7
- Views: 19191
Re: Stored Procedure
Then if I change the field length to the bigger value will its works? Or the value must only 25 chars?Ingmar wrote:it probably doesnt help your SQLPROC field allows not more than 25 chars
Regards
- Wed Oct 19, 2016 8:53 pm
- Forum: Questions & Answers
- Topic: Stored Procedure
- Replies: 7
- Views: 19191
Re: Stored Procedure
The SQL you use in the Where parameter is the SQL that will be executed.
As for how to format this SQL, you'll need to check with the company that supplies the database engine in question.
A quick search on Google found this (https://www.mssqltips.com/sqlservertutorial/162/how-to-create-a-sql ...
As for how to format this SQL, you'll need to check with the company that supplies the database engine in question.
A quick search on Google found this (https://www.mssqltips.com/sqlservertutorial/162/how-to-create-a-sql ...
- Wed Oct 19, 2016 2:58 pm
- Forum: Questions & Answers
- Topic: Logical View Other Files
- Replies: 6
- Views: 13242
Re: Logical View Other Files
Nobody gonna help you man. Not much people know lansa.
- Wed Oct 19, 2016 2:56 pm
- Forum: Questions & Answers
- Topic: Running SQL Stored Procedures from VL
- Replies: 4
- Views: 17411
Re: Running SQL Stored Procedures from VL
This use for one user input only. Correct me if I am wrong.
#SQLQUERY:= "DBO. FINDEMPLOYEESNAMED@NAME = '" + #Name + "'"
SELECT_SQL FIELDS(#EMPNUMBER #LASTNAME #FIRSTNAME ) FROM_FILES((EMPLOYEEDATA)) USING(#SQLQUERY)
ADD_ENTRY TO_LIST(#EMPLOYEES)
ENDSELECT
The #NAME is the user input.
What if I ...
#SQLQUERY:= "DBO. FINDEMPLOYEESNAMED@NAME = '" + #Name + "'"
SELECT_SQL FIELDS(#EMPNUMBER #LASTNAME #FIRSTNAME ) FROM_FILES((EMPLOYEEDATA)) USING(#SQLQUERY)
ADD_ENTRY TO_LIST(#EMPLOYEES)
ENDSELECT
The #NAME is the user input.
What if I ...
- Wed Oct 19, 2016 12:50 pm
- Forum: Questions & Answers
- Topic: Stored Procedure
- Replies: 7
- Views: 19191
Stored Procedure
Hello,
I have a stored procedure called dbo.storedproc.
Then I have load table from mssql server into lansa using 'Load Other File'. The dbo.storedproc(stored procedure) using this table whenever it invoked.
This dbo.storedproc need three user input; inputA(date) inputB(char) and inputC(char ...
I have a stored procedure called dbo.storedproc.
Then I have load table from mssql server into lansa using 'Load Other File'. The dbo.storedproc(stored procedure) using this table whenever it invoked.
This dbo.storedproc need three user input; inputA(date) inputB(char) and inputC(char ...
- Tue Oct 18, 2016 2:54 pm
- Forum: Questions & Answers
- Topic: Running SQL Stored Procedures from VL
- Replies: 4
- Views: 17411
Re: Running SQL Stored Procedures from VL
Hello.
How actually this going to work? Did this query need to be done in method routine in the web page where we want to display output or in srvroutine?
How actually this going to work? Did this query need to be done in method routine in the web page where we want to display output or in srvroutine?
- Fri Aug 26, 2016 1:12 pm
- Forum: Questions & Answers
- Topic: How to login
- Replies: 8
- Views: 25170
Re: How to login
So nobody willing to help. No wonder LANSA not famous. Cant even do login session. SMH. Game changer my ass.
- Thu Aug 25, 2016 1:44 pm
- Forum: Questions & Answers
- Topic: How to login
- Replies: 8
- Views: 25170
How to login
Hello everyone :D
I am new in Lansa environment. I came from php programmer and currently working on Lansa Web Dev Tools.
As you guys know it is so simple to do login function in php. I mean, we create a database, a table named 'registrationtbl', put some data, then develop a login UI, user key ...
I am new in Lansa environment. I came from php programmer and currently working on Lansa Web Dev Tools.
As you guys know it is so simple to do login function in php. I mean, we create a database, a table named 'registrationtbl', put some data, then develop a login UI, user key ...
- Thu Aug 25, 2016 1:00 pm
- Forum: Tips and Techniques
- Topic: Login session for dummies
- Replies: 1
- Views: 25288
Login session for dummies
Hello everyone :D
I am new in Lansa environment. I came from php programmer and currently working on Lansa Web Dev Tools.
As you guys know it is so simple to do login function in php. I mean, we create a database, a table named 'registrationtbl', put some data, then develop a login UI, user ...
I am new in Lansa environment. I came from php programmer and currently working on Lansa Web Dev Tools.
As you guys know it is so simple to do login function in php. I mean, we create a database, a table named 'registrationtbl', put some data, then develop a login UI, user ...