<%
' generate vendor input forms automatically
oVendor.call "set_psAutoEntryLabelStart", ""
oVendor.call "set_psAutoEntryDataStart", " | "
oVendor.call "get_AutoEntry","Vendor"
%>
<% else %>
<% ' If here we are generating a report. Could be one of two reports %>
<% if RunReport then %>
<% ' If here we are generating a report for all Vendors %>
Vendor List
<%
oVendor.call "get_autoreport","Vendor", Index ,"Vendor0.asp", 0, 0
%>
<% else %>
<% ' If here we are generating an Invt report for the selected Vendor %>
Vendor Parts List
<%
' If we list only for Vendor we must get the current Vendor
' rowid and pass it to the VDF report
VRowId = request("Vendor__RowId")
' this calls the Vdf report passing row Id and the URLs to link
' the report back to the Invt or Vendor entry screen.
oInvt.call "msg_SetHRefName", "Invt.asp"
oInvt.call "msg_SetVendorHRefName", "Vendor0.asp"
oInvt.call "msg_RunVndrInvtList", VRowId
%>
<%end if %>
<%end if %>
|