In asp page after inserting the records am trying to execute the proceudre below.
I need to set excute time for that procedure to run after specified seconds/minutes once the insert statement executed.
Please help me out, its really very urgent. - sql_insert = "insert into owf_mgr.request_forms (request_no, request_type, request_date, ustatus, emp_id, user_name,branch,department,job_title,email_id,joining_date,mobile,gender,work_type,manager_email,hardware,email,internet) values ('" & r_new_req_id & "' ,'" & emp_request_type & "',sysdate,'" & _
-
empstatus & "', '" & empid & "','" & empname & "','" & branch & "','" & divisions & "','" & jobtitle & "','" & emailid & "','" & joiningdate & "','" & mobile & "','" & gender & "','" & worktype & "','" & mgremail & "','" & hardware & "','" & email & "','" & internet & "')"
-
-
'response.write sql_insert
-
'response.end
-
'dim r_new_req_id
-
-
Set con = Server.CreateObject("ADODB.connection")
-
con.Open data_source
-
-
Set Cmd = Server.CreateObject("ADODB.Command")
-
Set objRs = Server.CreateObject("ADODB.Recordset")
-
set Cmd.ActiveConnection = con
-
Cmd.CommandType = 4
-
Cmd.CommandText = "MCMSREQ.start_mcms_wf('" & r_new_req_id & "')"
-
Set objRs = Cmd.Execute
3 1925 Rabbit 12,516
Recognized Expert Moderator MVP
Please use code tags when posting code.
Just put your program into a loop until said time arrives.
Thanks for the response, as am a newbie to asp will be really thankful if you could please show me the sample script.
Rabbit 12,516
Recognized Expert Moderator MVP
A loop is a basic concept that all programmers should know. If you don't know how to implement a loop, you should take a class or read a tutorial before tackling a project like this.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: TheDustbustr |
last post by:
<code>
from __future__ import generators
from time import time
threads=
def sleep(n):
print "In Sleep"
t=time()
while (t+n>time()):
yield None
|
by: Phil Grimpo |
last post by:
I have a very odd situation here. I have an administration page, where
based on a users permissions, a recordset is called from the SQL server
which has a list of paths to "Module Menus". Each of...
|
by: John A Fotheringham |
last post by:
I've probably not given the best title to this topic, but that
reflects my relative "newbie" status.
I have a table that goes essentially
TS DATETIME
jobnumber VARCHAR
jobentry VARCHAR
...
|
by: PyPK |
last post by:
Hi if I have a function called
tmp=0
def execute():
tmp = tmp+1
return tmp
also I have
def func1():
execute()
....
|
by: Norman Fritag |
last post by:
Hi there
The below code executes some queries.
As newbie I was wondering weather you are better of using connection execute
or command execute to execute queries?
I am asking as...
| |
by: Brett Edman |
last post by:
I created a UTC clock using this:
UTCTime = MyTime.ToUniversalTime()
Now that we've turned the clocks ahead 1 hour for daylight savings time, the
clock is reporting the wrong UTC time. It is...
|
by: Akinyemi |
last post by:
I created a Database which I named "Address".
I went through the Control Panel and created a DSN to enable me connect to the Database through ODBC.
I then created a Form with the same fields as...
|
by: lalnamar |
last post by:
I want to execute a unix time command using perl, and capture the output (specifically, the time it takes the command to execute).
i tried using the system command:
system("time command ");...
|
by: DontB3 |
last post by:
Hi, I'm new in this forum, and i hope someone can help.
I'm creating an automatic application that transfer a database from Access -> DBF -> Oracle.
When My App try to execute Insert SQL...
|
by: Rodney Roe |
last post by:
I'm using excel 2007 vba.
I'm trying to use a commond dialog control in my user form, but it says that I don't have a license for it. Yet I can select it from the additional controls list.
I...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |