Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whopper of a problem
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Whopper of a problem
Miscellaneous
Thread ID:
00612227
Message ID:
00612227
Views:
61
here is some code that i am trying to get working
the code in this form is quite easy to understand, i have on
a previous screen read in a changable number of fields all
with the name desci, qtyi, costi, notesi where i is anincremented
number, but i do not know how to read the numbers back into
the next page i created. the first bit of code here should
read in all of the fields to variables and the second part of
the code should go through the variables making sure that none
of them are blank.
i have tried a few different things to get this code working
but to no avail and i have reduced it to this format so that
it can be more easily explained
is what i am trying to do even possible?
any help on this would be much appreciated
cheers
~M




For j =1 to numoflines
Dim descj, qtyj, costj, notesj
descj=trim(request.form("descj"))
qtyj=trim(request.form("qtyj"))
costj=trim(request.form("costj"))
notesj=trim(request.form("notesj"))
Next


For i = 1 to numoflines
Dim desci, qtyi, costi, notesi
If desci = "" Then
response.redirect "engineer.asp?error=511"
Else If qtyi = "" Then
response.redirect "engineer.asp?error=512"
Else If costi = "" Then
response.redirect "engineer.asp?error=513"
Else If notesi = "" Then
response.redirect "engineer.asp?error=514"
End If
End If
End If
End If
Next
Go raibh maith agat

~M
Next
Reply
Map
View

Click here to load this message in the networking platform