I've been working on a macro to check inventory on merchandise.
When I run the "Get Field" macro by CautionMP, the results are blank.
Checking "For Each" form with a macro, it skips past the "Next" giving me reason to think there are no forms or they've hidden it beyond my skills.
I believe the text box I'm looking for (in the HTML below) is "ht_itemnumber" but I have never tried to fill out a form without knowing the form name.
I'm trying to fill out the Item Number and hit "GO" so I can gather the data on the resulting table.
How would this be done?
Any Advice is appreciated. Thanks!
HTML Text:
<html>
<head>
<title>Item</title>
</head>
<body BGCOLOR="#FFFFFF">
<form method="POST" action="itemsel.htm">
<INPUT TYPE="HIDDEN" NAME="HslKitList" VALUE=",Pre-Built,BOD">
<INPUT TYPE="HIDDEN" NAME="HslItemTypeList" VALUE=",Stock,Non-Stock,Consumable,Labor">
<INPUT TYPE="HIDDEN" NAME="sid" VALUE="RiUEdjJhHccxhwkn.r">
<BLOCKQUOTE>
<table border="0" width="377" height="275">
<tr>
<td colspan=2><font size=+1><strong>Select Inventory By:</strong></font></td>
</tr>
<tr>
<td width="123" height="42" align="right"><strong>Item :</strong></td>
<td width="242" height="42"><input type="text" name="ht_itemnumber" size="20" VALUE=""></td>
</tr>
<tr>
<td width="123" height="39" align="right"><strong>Item Type:</strong></td>
<td width="242" height="39"><select name="hsl_itemtype" size="1">
<OPTION>
<OPTION>Stock
<OPTION>Non-Stock
<OPTION>Consumable
<OPTION>Labor
</SELECT></td>
</tr>
<tr>
<td width="123" height="37" align="right"><strong>Kit:</strong></td>
<td width="242" height="37"><select name="hsl_kit" size="1">
<OPTION>
<OPTION>Pre-Built
<OPTION>BOD
</SELECT></td>
</tr>
<tr>
<td width="123" height="40" align="right"><strong>Description :</strong></td>
<td width="242" height="40"><input type="text" name="ht_description" size="20" VALUE=""></td>
</tr>
<tr>
<td width="123" height="55" align="right"><strong>Product Group:</strong></td>
<td width="242" height="55"><input type="text" name="ht_prodgroup" size="20" VALUE=""><input
type="submit" value="Go" name="bt_go"></td>
</tr>
</table>
</BLOCKQUOTE>
</form>
</body>
</html>
The web page has 5 fields. An "Item Number" (which is what i want to fill out), 2 drop down lists "Item Type" and "Kit", a "Description" box, and a "Product Group" box. (and a "GO" button). I'll need to hit "GO" once I've managed to fill out the form. Thanks again!
When I run the "Get Field" macro by CautionMP, the results are blank.
Checking "For Each" form with a macro, it skips past the "Next" giving me reason to think there are no forms or they've hidden it beyond my skills.
I believe the text box I'm looking for (in the HTML below) is "ht_itemnumber" but I have never tried to fill out a form without knowing the form name.
I'm trying to fill out the Item Number and hit "GO" so I can gather the data on the resulting table.
How would this be done?
Any Advice is appreciated. Thanks!
HTML Text:
<html>
<head>
<title>Item</title>
</head>
<body BGCOLOR="#FFFFFF">
<form method="POST" action="itemsel.htm">
<INPUT TYPE="HIDDEN" NAME="HslKitList" VALUE=",Pre-Built,BOD">
<INPUT TYPE="HIDDEN" NAME="HslItemTypeList" VALUE=",Stock,Non-Stock,Consumable,Labor">
<INPUT TYPE="HIDDEN" NAME="sid" VALUE="RiUEdjJhHccxhwkn.r">
<BLOCKQUOTE>
<table border="0" width="377" height="275">
<tr>
<td colspan=2><font size=+1><strong>Select Inventory By:</strong></font></td>
</tr>
<tr>
<td width="123" height="42" align="right"><strong>Item :</strong></td>
<td width="242" height="42"><input type="text" name="ht_itemnumber" size="20" VALUE=""></td>
</tr>
<tr>
<td width="123" height="39" align="right"><strong>Item Type:</strong></td>
<td width="242" height="39"><select name="hsl_itemtype" size="1">
<OPTION>
<OPTION>Stock
<OPTION>Non-Stock
<OPTION>Consumable
<OPTION>Labor
</SELECT></td>
</tr>
<tr>
<td width="123" height="37" align="right"><strong>Kit:</strong></td>
<td width="242" height="37"><select name="hsl_kit" size="1">
<OPTION>
<OPTION>Pre-Built
<OPTION>BOD
</SELECT></td>
</tr>
<tr>
<td width="123" height="40" align="right"><strong>Description :</strong></td>
<td width="242" height="40"><input type="text" name="ht_description" size="20" VALUE=""></td>
</tr>
<tr>
<td width="123" height="55" align="right"><strong>Product Group:</strong></td>
<td width="242" height="55"><input type="text" name="ht_prodgroup" size="20" VALUE=""><input
type="submit" value="Go" name="bt_go"></td>
</tr>
</table>
</BLOCKQUOTE>
</form>
</body>
</html>
The web page has 5 fields. An "Item Number" (which is what i want to fill out), 2 drop down lists "Item Type" and "Kit", a "Description" box, and a "Product Group" box. (and a "GO" button). I'll need to hit "GO" once I've managed to fill out the form. Thanks again!