- If sIssueId <>rs("IssueId") Then%> <tr class=selsty> <td rowspan=2> <%= rs("ISSUENO")%> </td> <td rowspan=2> <%= rs("ITEM") %> </td> <td rowspan=2> <%= rs("COLOR") %> </td> <td rowspan=2><%= rs("SIZE") %> </td> <td align=right rowspan=2> <%= rs("ISSUEQTY") %> </td> <% end if%>
3 1432
thank you.i have lot of doubts.so i learn lot of things from
- <%@ language=vbscript %>
-
<!--#include file="axongeneral.asp"-->
-
<!--#include file="GeneralFunctions.asp"-->
-
<html>
-
<head>
-
<title>Process</title>
-
<style>
-
font.title
-
{font-family:arial;
-
font-size:12px}
-
td{font-family:arial; font-size:11px}
-
.selsty{width:250px; font-family:arial; font-size:12px; font-weight:bolder; color:91008b; background:e7f8f7}
-
</style>
-
</head>
-
<body>
-
<%
-
dim cn, rs, squery
-
Dim sIssueId
-
-
if Request.QueryString("show")="detail" then
-
Response.Write("Issue")
-
squery =" Select I.Item,Clr.color,SZ.size,PIM.IssueNo,PID.IssueQty,PRD.RcptQty,PRD.RcptRate From Process_Rcpt_Det PRD "
-
squery = squery & "<br>" & " Inner Join Process_Iss_Mas PIM On PRD.IssueId=PIM.IssueId "
-
squery = squery & "<br>" & " Inner Join Process_Iss_Det PID On PRD.IssueDetId=PID.IssueDetId "
-
squery = squery & "<br>" & " Inner Join Item I On PID.itemid=I.itemid "
-
squery = squery & "<br>" & " Inner Join color Clr On PID.ColorId=Clr.colorId "
-
squery = squery & "<br>" & " Inner Join size SZ On PID.sizeid=SZ.sizeid "
-
'squery = squery & "<br>" & " Where IssueNo= '" & Request.QueryString("IssueNo") & "' "
-
'squery = squery & "<br>" & " and storeId= " & Request.QueryString("store") & ""
-
'squery = squery & "<br>" & " and PID.IssueDetId= " & Request.QueryString("IssueDetId") & ""
-
Response.Write squery
-
'end response
-
squery = replace(squery,"<br>","")
-
Set rs =Server.CreateObject("ADODB.Recordset")
-
Rs.Open sQuery, Con, adOpenStatic, adLockReadOnly
-
%>
-
<table align=Center border=0 bgcolor=red Cellpadding=1 Cellspacing=1 WIDTH=100%>
-
<tr class=selsty align=Center height=25>
-
<td align=CENTER><font size=3> <b>ISS DET DETAILS</b> </font> </td>
-
</tr>
-
</table>
-
<BR>
-
<table align=center border=0 bgcolor=red Cellpadding=1 Cellspacing=1 WIDTH=100%>
-
<tr class=selsty height=25 >
-
<td ALIGN=CENTER rowspan=2> <b>ISSUENO</b> </td>
-
<td ALIGN=CENTER rowspan=2> <b>ITEM</b> </td>
-
<td ALIGN=CENTER rowspan=2> <b>COLOR</b> </td>
-
<td ALIGN=CENTER rowspan=2> <b>SIZE</b> </td>
-
<td ALIGN=RIGHT rowspan=2> <b>ISSUEQTY</b> </td>
-
<td ALIGN=RIGHT> <b>RCPTQTY</b> </td>
-
<td ALIGN=RIGHT> <b>RCPTRATE</b> </td>
-
</tr>
-
<%
-
rs.movefirst
-
sIssueId=0
-
while rs.EOF=False
-
If sIssueId <>rs("IssueId") Then%>
-
-
-
-
<tr class=selsty>
-
<td rowspan=2> <%= rs("ISSUENO")%> </td>
-
<td rowspan=2> <%= rs("ITEM") %> </td>
-
<td rowspan=2> <%= rs("COLOR") %> </td>
-
<td rowspan=2><%= rs("SIZE") %> </td>
-
<td align=right rowspan=2> <%= rs("ISSUEQTY") %> </td>
-
-
<% end if%>
-
<td align=right> <%= rs("RCPTQTY") %> </td>
-
<td align=right> <%= rs("RCPTRATE") %> </td>
-
</tr>
-
sIssueId=rs("IssueId")
-
<%
-
rs.movenext
-
wend%>
-
</table>
-
-
<% Response.end
-
end if
-
%>
-
-
<%
-
Set rs =Server.CreateObject("ADODB.Recordset")
-
squery = " Select PID.IssueDetId, PIM.IssueNo,PIM.IssueDate ,su.supplier,S.Store,P.process,PID.IssueQty,PIM.Remarks From Process_Iss_Det PID "
-
squery = squery & "<br>" & " Inner Join Process_Iss_Mas PIM On PID.IssueId=PIM.IssueId "
-
squery = squery & "<br>" & " Inner Join supplier su On PIM.supplierid=su.supplierid "
-
squery = squery & "<br>" & " Inner Join Store S On PIM.StoreId=S.StoreId "
-
squery = squery & "<br>" & " Inner Join process P On PIM.processid=P.processid "
-
squery = squery & "<br>" & " Where 1=1"
-
'Response.Write squery
-
'end Response
-
squery = replace(squery,"<br>","")
-
Rs.Open sQuery, Con, adOpenStatic, adLockReadOnly
-
%>
-
<table align=Center border=0 bgcolor=red Cellpadding=1 Cellspacing=1 WIDTH=100%>
-
<tr class=selsty height=25>
-
<td align=CENTER > <font size=3> <b>ISSUE LISTING</b> </font> </td>
-
</tr>
-
</table>
-
<BR>
-
<table align=center border=0 bgcolor=red Cellpadding=1 Cellspacing=1 WIDTH=100%>
-
<tr class=selsty height=25>
-
<td ALIGN=CENTER> <b>ISSUENO</b> </td>
-
<td ALIGN=CENTER> <b>ISSUEDATE</b> </td>
-
<td ALIGN=CENTER> <b>SUPPLIER</b> </td>
-
<td ALIGN=CENTER> <b>STORE</b> </td>
-
<td ALIGN=CENTER> <b>PROCESS</b> </td>
-
<td ALIGN=CENTER> <b>ISSUEQTY</b> </td>
-
</tr>
-
<%
-
rs.movefirst
-
do while not rs.eof%>
-
<tr class=selsty>
-
<td> <%= rs("ISSUENO") %> </td>
-
<td> <%= rs("ISSUEDATE") %> </td>
-
<td> <%= rs("SUPPLIER") %> </td>
-
<td> <%= rs("STORE") %> </td>
-
<td> <%= rs("PROCESS") %> </td>
-
<td align=right>
-
<a href="Process.asp?IssueNo=<%=rs.Fields("IssueNo")%>&StoreId=<%=rs.Fields("Store")%>&IssueDetId=<%=rs.Fields("IssueDetId")%>&show=detail">
-
<%= rs("ISSUEQTY") %> </a> </td>
-
</tr>
-
<tr class=selsty >
-
<td colspan=6><b>REMARKS:</b><%= rs("REMARKS") %> </td>
-
</tr>
-
<%
-
rs.movenext
-
loop
-
%>
-
</table>
-
</body>
-
</html>
-
<%
-
rs.close
-
set rs=nothing
-
%>
You haven't asked a question...
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Gadrin77 |
last post by:
as a newbie to XSL, is it possible to mimic a SELECT/CASE statement
using
XSL?
I tried a quickie and I kept getting errors either using PARAM or
WITH-PARAM
in the wrong place or VARIABLE. I...
|
by: Hughes |
last post by:
Hi,
I would like to get the filename from a folder by using C language.
For example, in path /Users/abc/Desktop/xyz/ there is a file named
"test.s" (file "test.s" is inside folder "xyz"). How...
|
by: yogishaj |
last post by:
How to interact with Oracle, MS-SQL and Sybase databases using C
Language. Please provide me information about links or books which
discuss this subject
|
by: vijay babu |
last post by:
Hi,
I'm developing asp.net web application and doing some part of the
Export data to Excel using XMLSpreadSheet Language. But, I'm unable to
set some new properties like autowidth for cell and...
|
by: tigerofkvp |
last post by:
Hello,
I want to know abt some basic operations such as
1) copy a JPG image from one location to another/same location using
C language.
2) Add the Status information to an existing image...
|
by: nickyeng |
last post by:
hi
I have done the searching, but couldn't find it.
I wanna set state information to site-wide cookie.
I have a static form, user select the choice and press submit button.
This button will...
|
by: eonblue20 |
last post by:
Hello
I\\\'m new to DB2 and I\\\'ve been trying to create the MERGE statement using PreparedStatements in Java as a requirement for a project I\\\'m working on, but I get the following message:
...
|
by: sds50 |
last post by:
Error with Select Statement using the SQLDataAdapter Wizard
--------------------------------------------------------------------------------
I am needing to setup the data adapter for my SQL...
|
by: selvasscript |
last post by:
i want to take printout using c language . how to connect the printer using c codes..(i.e) how to connect printer using printer interface
|
by: sanchit007 |
last post by:
how we can modify window registry using java language .i am using java1.6 version...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |