Hello, everyone.
I am setting a variable equal to a data point in a cursor row. Snippet below.
Is there a way to get a persistent variable assignment to the variable 'id'?
This is clearing out when I close the cursor.
I know that it is getting set from the cursor since it is showing in the input text box.
Thanks, Everyone.
Patrick
I am setting a variable equal to a data point in a cursor row. Snippet below.
Is there a way to get a persistent variable assignment to the variable 'id'?
This is clearing out when I close the cursor.
I know that it is getting set from the cursor since it is showing in the input text box.
Code:
DBOpen()
sql="SELECT MAX(event_id)+1 event_id FROM nr_phy_event_tracking "
cursor=DBQuery(sql)
Write("<TABLE class='queueTable' align=center>")
id = cursor("event_id")
Write("<TR><TH class=style1>Event ID:<TD><input type='text' id='txtID' value='" + id + "'/>")
cursor.Close
Write("." + id + ".") //prints ..
Thanks, Everyone.
Patrick