Increment Value in .HTX file? 
Author Message
 Increment Value in .HTX file?

Hello all Website developers,

I have a problem that i hope somone out there can solve.

Is it Possible to insert VBScript or anything in a .HTX file?

On my Intranet i want to Increment a value that i recived from an Access
database by 3.

I have pasted my 2 files below.

Start.idc looks like this...
----------------------------------------------------------------------------
------------------

Datasource: prod
Template: Start.htx
DefaultParameters:
SQLStatement:
+ SELECT * FROM TABLE

----------------------------------------------------------------------------
-----------
Then the Start.htx looks likke this..
----------------------------------------------------------------------------
------------
<html>
<head>
<title>Test</title>
</head>
<body>
<table border="1">
<%begindetail%>
    <TR>
    <TD><%ArtikelNr%></TD>
    <TD><%Text%></TD>
    <TD>

<!--    How do i Import the variable <%ANTAL%> and increment it with ex 3
and then Print it out on the Webbpage  ???????  --!>

<% Ant = Request.Form(idc.Antal)%>
<%   Ant = Ant + 3 %>
<% = Ant %>

    </TD>
    <TD><%Pris%></TD>
    </TR>
<%enddetail%>

</TABLE>
</BODY>
</HTML>
----------------------------------------------------------------------------
---------------------------------------

Please Can someone help me???

Best Regards Mikael



Sat, 28 Jul 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. increment a textbox value

2. incrementing a value by one..

3. Using operators in HTX files

4. Operator logic in an HTX file

5. incrementing a field value

6. incrementing a field value

7. need help on getting the auto-increment value of a field BEFORE updating recordset

8. Increment Value on print

9. get auto increment value (in MS SQL7)

10. Change auto increment field value

11. Incremented value

12. AddDate to increment values in a field (Access 97)

 

 
Powered by phpBB® Forum Software