How can I integrate a DAI report in Visual dataflex asp file ?
In the help of the DAI report I found that I can use
- Code: Select all
<HTML>
<BODY onload='BB.submit();'>
<FORM NAME=BB METHOD=POST ACTION="http://localhost/ai6/ai.asp">
<INPUT TYPE=HIDDEN NAME="UID" VALUE="">
<INPUT TYPE=HIDDEN NAME="PW" VALUE="">
<INPUT TYPE=HIDDEN NAME="DAI_R" VALUE="1025">
</FORM>
</BODY>
</HTML>
I though using the simple Ajax view created with the wizard
- Code: Select all
<!-- #Include FILE="VdfAjaxLib/2-0/PageTop.inc.asp" -->
<html>
<head>
<title>AJAX Web Application</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Visual DataFlex Studio">
<!-- Global stylesheet -->
<link rel="stylesheet" href="Css/WebApp.css" type="text/css">
<link rel="stylesheet" media="print" href="Css/Print.css" type="text/css">
<!-- #include File="VdfAjaxLib/2-0/Includes.inc.asp" -->
</head>
<body>
<form action="none" name="user_form" autocomplete="off" vdfControlType="form" vdfControlName="user_form" vdfMainTable="user" vdfServerTable="user" vdfWebObject="oDAI">
<!-- Status fields -->
<input type="hidden" name="user__rowid" value="" />
<table width="100%">
<tr>
<td>
<h3>DAI</h3>
</td>
</tr>
<tr>
<td>
<!-- Include the toolbar for the Find buttons, etc -->
<!-- #Include FILE="VdfAjaxLib/2-0/Toolbar.inc.asp" -->
</td>
</tr>
<tr>
<td>
<div>
<table class="EntryTable">
<tr>
<td class="Label">UserID</td>
<td>
<input class="Data" type="text" value="" name="User__Userid" title="UserID" size="8" vdfSuggestSource="find" />
</td>
</tr>
<tr>
<td class="Label">Login</td>
<td>
<input class="Data" type="text" value="" name="User__Loginname" title="Login" size="20" vdfSuggestSource="find" />
</td>
</tr>
<tr>
<td class="Label">Password</td>
<td class="Data"><input type="text" value="" name="User__Password" title="Passw" size="10" /></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</form>
</body>
</html>
I would like to integrate both of them to put the User__loginname and the User__password in the right place of the first form.
Or do you have another solution ?
Jacques