|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
eof form
Hellow
Well i made a form with asp with an rs.eof from an acces database. Now i have a list and a user must add in a textfield in a form how many parts he want to buy. But now he must check if there is something in the field (txtaantal). But i don't know how to say do while nog eof form or something like that. Then name of my form is: "form". This part is clientside. So i need the code to check to the end of the form. <SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript> <!-- Dim intgetal2 Sub cmdOpslaan_onclick do while not form= "" intgetal2=form.txtaantal.value if intgetal2>0 then open("boeking3.asp") end if Loop 'window.opener=null 'window.close() End Sub --> </SCRIPT> |
|
#2
|
||||
|
||||
|
Seems like your on the wrong track... have you ever done any ASP before?
Why exactly are you trying to loop there? Shouldn't the logic be more like If Not IsNull(txtaantal.Value) Then If Not txtaantal.Value = "" Then open("boeking3.asp") End If End If you might want to try posting this again (with more information) on the ASP section of the forums |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > eof form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|