pls help on this.. imagine i have i have 2 ways of searching data... 1 is by dropdown search and another is textbox search in page A ..either one can perform the search...
pageB
a="select from table
where partnumber= '"&textboxSearc h&"' || partnumber ='"&dropDownSea rch&"' "
set b = conn.execute(a)
if not b.eof
call main()
else
response.redire ct("confirm.asp ?res=cannotFind ")
end if
can that be done?? but i cant get my main()
-------------------------------------------------------------------------------------
i have also tried
a="select from table
where partnumber= '"&textboxSearc h&"' || partnumber ='"&dropDownSea rch&"' "
set b = conn.execute(a)
if textboxSearch ="" then
response.write( " confirm.asp?res =blank ")
call main()
** this res=blank can work for the textbox search... but when i click on the dropdown.. it always link me to the "res=blank "
pageB
a="select from table
where partnumber= '"&textboxSearc h&"' || partnumber ='"&dropDownSea rch&"' "
set b = conn.execute(a)
if not b.eof
call main()
else
response.redire ct("confirm.asp ?res=cannotFind ")
end if
can that be done?? but i cant get my main()
-------------------------------------------------------------------------------------
i have also tried
a="select from table
where partnumber= '"&textboxSearc h&"' || partnumber ='"&dropDownSea rch&"' "
set b = conn.execute(a)
if textboxSearch ="" then
response.write( " confirm.asp?res =blank ")
call main()
** this res=blank can work for the textbox search... but when i click on the dropdown.. it always link me to the "res=blank "
Comment