ceeleelewis
Programmer
Conceptually, I think that there should be a way to use an OnLoad sub routine to pre- populate values in a check box based off the info that resides in the field.....
The question that i have is what should my sub routine look like.....
Like this example...
Sub form_OnLoad
if objRS("DNS" = yes then
[form field] DNS = "yes"<--(the checked value)
end if
End Sub
****************************************************
Or Like this example.
Sub form_OnLoad
if objRS("DNS" = yes then
form.value="yes"
end if
End Sub
Or should I create an OnPageLoad function on a seperate ASP page that will loop thru the records on the db to check the value than add a value based off the recordset object.
Any direction in this dilemma will be greatly appreciated.
The question that i have is what should my sub routine look like.....
Like this example...
Sub form_OnLoad
if objRS("DNS" = yes then
[form field] DNS = "yes"<--(the checked value)
end if
End Sub
****************************************************
Or Like this example.
Sub form_OnLoad
if objRS("DNS" = yes then
form.value="yes"
end if
End Sub
Or should I create an OnPageLoad function on a seperate ASP page that will loop thru the records on the db to check the value than add a value based off the recordset object.
Any direction in this dilemma will be greatly appreciated.