General information
Category:
Internet applications
Just wanted to let those who are interested I found the solution. The objects are referenced directly and do not have a prefix reference to the form as you would have in VFP (thisform.cmdNext.Enabled = .F.) . You just state cmdNext.Disabled = true.
‘ Declare a variable to reference the form
dim gForm
Sub Window_OnLoad()
set gForm = document.forms("frmQPR")
call Set_Up
End Sub
Sub Set_Up()
dim sRecord
dim sLastPage
sRecord = <%=iPage%>
sLastPage = <%=oProj.PageCount%>
if sRecord = 1 then
cmdPrevious.disabled = true
end if
Tom
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only