<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am trying to submit a form and&nbsp; the form got 
an variable called service, which identifies the database to be queried. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>I am using an ZPT to display the resultset. How can 
check the value of service and decide&nbsp;which database to query </FONT></DIV>
<DIV><FONT face=Arial size=2>in ZPT so i call the correct 
ZSQLmethod.</FONT></DIV>
<DIV><FONT face=Arial size=2>to be much clearer:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>IF service == "employee" i need to query the 
employee database(not table, but database)</FONT></DIV>
<DIV><FONT face=Arial size=2>if&nbsp; service == "manager" i need to query the 
manager databaser (not table,but database)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So how can i check which database to query in 
ZPT.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help in this regard would be great 
help.</FONT></DIV>
<DIV><FONT face=Arial size=2>ta.</FONT></DIV></BODY></HTML>