on 09-09-2010 12:02 PM
hi experts
i created a SP which is called by the following code.
Dim GD As SAPbouiCOM.Grid
Dim Query As String = "exec sp_Attendance_Report'" & vmonth & "','" & vyear & "'"
GD = objForm.Items.Item("10").Specific
GD.DataTable.ExecuteQuery(Query)
while creating add on (ard file )how to incorporate this stored procedure?
thanks in advance
thanks everybody
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
When the addon first time connect, you must check that the SP is exists or not exists in target database. If not exist, you may create it.
sql to check the sp exists
select 1 from sysobjects where name like 'sp_Attendance_Report'
if this query returns 1 the sp is exists in the database, skip installation, if returns no records, you must install the sp via recordset by create procedure command.
Regards
János
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.