Forums

This topic is locked

Downlaod manager

Posted 04 May 2002 15:22:52
1
has voted
04 May 2002 15:22:52 Orhan Veli Firik posted:
<font face='Verdana'><font size=2>hi friends
i wanna a download manager with UltraDev, everything's OK but, i want to ascend the "hit" field in database when file is downloading too. How can i do this

thanks for everythings


</font id=size2></font id='Verdana'>

dreamweaver.sayfasi.com

Replies

Replied 08 May 2002 11:47:36
08 May 2002 11:47:36 David Behan replied:
I believe what you need is a stored procedure that takes the value from the hit field from the database for the current record, adds 1 to it, and replaces the old number. Simple as that...

Use your stored procedure to do this and select update.

Update fieldx in tablex with fieldx + 1 where fieldy is equal to "a number".

That should help you along.



_________________________
David Behan - www.bmor.com

Reply to this topic