- if operation = "EDIT" then
-
loadplanname = id2(3)
-
loadnewqty = id2(4)
-
loaddpml = cdbl(id2(5))
-
response.end
-
'ni utk FW AUTO STARTS; if qty/dpml is change will call edit first then add into FW AUTO START table
-
call listFWautoCreate(wafersdt,loadtech,loaddevice,loadplanname,loadnewqty,loaddpml,id2(6),id2(7),id2(8),id2(9),id2(10),id2(11),id2(12))
-
'response.write "NAK EDIT " & loadnewqty %>
-
<script languange="javascript">
-
document.operation.submit();
-
</script> <%
-
end if
-
Hi Experts,
When i add in id(13) having issue where i get error message subscript out of range.Where should i declare this
4 2167
Could you please provide "listFWautoCreate" Function Details? It will be useful to give solution to your problem.
I don't see id(13) anywhere in your code. You probably mean id2(13) but I don't see that anywhere in your code either. Also, I don't see where you declare you id2 array. We can't answer your question without knowing this information.
Hi,
Please help me.Im not sure how the code get the array data. - function getcell_edit(x){
-
-
-
//EDIT - pass the new qty as well
-
if (document.getElementById(x+'|editqty').value==""){
-
alert("Please enter quantity!");
-
document.getElementById(x+'|editqty').focus();
-
return;
-
}
-
if (!/^\d*$/.test(document.getElementById(x+'|editqty').value)){
-
alert("Only integer allowed for load quantity");
-
document.getElementById(x+'|editqty').focus();
-
return false;
-
}
-
if (document.getElementById(x+'|editqty').value=="0"){
-
alert("Zero quantity is not allowed for load quantity");
-
document.getElementById(x+'|editqty').focus();
-
return false;
-
}
-
if (document.getElementById(x+'|editabc').value==""){
-
alert("Please enter dpml!");
-
document.getElementById(x+'|editdpml').focus();
-
return;
-
}
-
if (document.getElementById(x+'|fw_sosn').value==""){
-
alert("Please enter SOSN for this schedule!");
-
document.getElementById(x+'|fw_sosn').focus();
-
return;
-
}
-
if (document.getElementById(x+'|fw_priority').value==""){
-
alert("Please enter priority for this schedule!");
-
document.getElementById(x+'|fw_priority').focus();
-
return;
-
}
-
if (document.getElementById(x+'|fw_lottype').value==""){
-
alert("Please choose lot type for this schedule!");
-
document.getElementById(x+'|fw_lottype').focus();
-
return;
-
}
-
if (document.getElementById(x+'|fw_material').value==""){
-
alert("Please choose start material for this schedule!");
-
document.getElementById(x+'|fw_material').focus();
-
return;
-
}
-
-
if (document.getElementById(x+'|fw_owner').value==""){
-
alert("Please enter lot owner for this schedule!");
-
document.getElementById(x+'|fw_owner').focus();
-
return;
-
}
-
-
-
if (document.getElementById(x+'|fw_addcomment').value==""){
-
alert("Please enter abc for this schedule!");
-
document.getElementById(x+'|fw_addcomment').focus();
-
return;
-
}
-
-
var info = x.split("|");
-
if (confirm("Are you sure you want to save the changes made on start schedule \nfor technology "+info[0]+" device " + info[1] + " planname " + info[2] + "?")) {
-
document.operation.info.value="EDIT" + "|" + x + "|" + document.getElementById(x+'|editqty').value + "|" + document.getElementById(x+'|editabc').value + "|" + document.getElementById(x+'|fw_customer').value + "|" + document.getElementById(x+'|fw_priority').value + "|" + document.getElementById(x+'|fw_lottype').value + "|" + document.getElementById(x+'|fw_material').value + "|" + document.getElementById(x+'|fw_sosn').value + "|" + document.getElementById(x+'|fw_owner').value+ "|" + document.getElementById(x+'|fw_devicefw').value+ "|" + document.getElementById(x+'|fw_addcomment').value;
-
document.operation.submit();
-
}
-
}
-
-
-
-
-
if operation = "EDIT" then
-
-
call listFWautoCreate(wafersdt,loadtech,loaddevice,loadplanname,loadnewqty,loaddpml,id2(6),id2(7),id2(8),id2(9),id2(10),id2(11),id2(12),id2(13))
-
end if
-
I don't see how this relates to your original question in any way. If this is a new question, you need to create a new thread for it.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: andy.rich |
last post by:
I am getting the following error and I do not know why. Can anyone
help?
--------------------------------------------------------
this is what appears on the screen...
|
by: Richard Delorme |
last post by:
The n869 draft says:
J.2 Undefined behavior
The behavior is undefined in the following
circumstances:
-- An array subscript is out of range, even if an object
is ...
|
by: VB Programmer |
last post by:
I'm acutally using VB6, not VB.NET, but I couldn't find the newsgroup for
version 6....
I need help for something that should be simple. I keep getting a
"subscript out of range" error and...
|
by: Pedro Graca |
last post by:
I run into a strange warning (for me) today (I was trying to improve
the score of the UVA #10018 Programming Challenge).
$ gcc -W -Wall -std=c89 -pedantic -O2 10018-clc.c -o 10018-clc...
|
by: wennerd |
last post by:
I am getting a Subscript out of range after executing the following command
Set oRstPick = connTemp.Execute(sSQL)
It is a simple query:
sSQL = "SELECT idCategory, categoryDesc, idParentCategory...
|
by: josh |
last post by:
Hi I've a dubt!
when we have overloaded functions the compiler chooses the right
being based on the argument lists...but when we have two subscript
overloaded functions it resolves them being...
|
by: Andy |
last post by:
Hi all,
I started developing a little app on my Mac using XCode some month
ago. The app is running fine on my mac like a sharm. Now I am nearly
ready and yesterday I moved the whole source code...
|
by: subramanian100in |
last post by:
For vector and deque, the 'at( )' member function throws out_of_range
exception if the argument to the 'at( )' function is not in range. But
the subscript operator does not throw this exception...
|
by: Han |
last post by:
when I exe my project in vs.net2005,I got the error following:
Debug Assertion Failed!
Program:........
File:c:\program files\microsoft visual studio 8\vc\include\vector
Line:756
...
|
by: brandon01 |
last post by:
Keep getting "subscript out of range" any idea why? This function is looped btw.. Thx...
Private Sub getBday()
bDay = List1.List(nextBday)
bDayArr = Split(bDay, " - ")
Text1.Text =...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
| |