|
 |
asp_databases thread: setting a ID number to records in database
Message #1 by jon.holyoake@m... on Tue, 30 May 2000 10:24:7
|
|
I am using the code below to obtain a ID number for each record when it is
submitted into the database...due to not wanting to use access's own ID
generator (because certain records will be deleted alot!!)
<object id="objcounters" runat="server" scope="application"
progid="mswc.counters">
</object>
<%
if Request.Form("counter") = "yes" then
objcounter.increment("response_yes")
problems - 1) is this the best way to give a record its own ID
2)apon opening web page im getting the following error
Active Server Pages error 'ASP 0134'
Invalid ProgID attribute
/default.asp, line 301
The object has an invalid ProgID of 'mswc.counters'
is this due to not having the correct service pack installed ??..at the
moment im running NT4 with service pack 3.. what is the minimum i can
install???
im a bit new to all this....so any help would be greatly appriciated..
Message #2 by Anil Budhkar <anilb@m...> on Tue, 30 May 2000 17:14:00 +0530
|
|
Check whether counters.dll and counters.txt is available.
Good Luck.
Anil.
-----Original Message-----
Sent: Tuesday, May 30, 2000 6:30 AM
To: ASP Databases
Subject: [asp_databases] setting a ID number to records in database
I am using the code below to obtain a ID number for each record when it is
submitted into the database...due to not wanting to use access's own ID
generator (because certain records will be deleted alot!!)
<object id="objcounters" runat="server" scope="application"
progid="mswc.counters">
</object>
<%
if Request.Form("counter") = "yes" then
objcounter.increment("response_yes")
problems - 1) is this the best way to give a record its own ID
2)apon opening web page im getting the following error
Active Server Pages error 'ASP 0134'
Invalid ProgID attribute
/default.asp, line 301
The object has an invalid ProgID of 'mswc.counters'
is this due to not having the correct service pack installed ??..at the
moment im running NT4 with service pack 3.. what is the minimum i can
install???
im a bit new to all this....so any help would be greatly appriciated..
|
|
 |