Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2005, 02:22 AM
Authorized User
 
Join Date: Sep 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unique Update Problem

Hi All,

I am working on remedy support system where call are logged in different area Hardware,Application etc............
Toady I faced a Unique Problem.actually when call are logged a Unique call is given to all call which is selected from a table..

code........

ssql = "select 'HD'||LPAD(nextid,13,'0') from arschema where schemaid=160"
Set rs = OraDatabase.DbCreateDynaset(sSql, cint(0))
seq = rs(0)
OraDatabase.DbExecuteSql("Update arschema set nextid = nextid + 1 where schemaid=160")

This code is written in 3 application files for Logging different type of calls.

After selecting number,number is updated.

Bt today Morning call was logged and 3 problems had given the same Problem Number.

I m not able to get the Problem........

Pl help meeeeeeeeee



It is always safe to assume, not that the old way is wrong, but that there may be a better way...
*************************
Rekha
__________________
It is always safe to assume, not that the old way is wrong, but that there may be a better way...
*************************
Rekha





Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet Column with Unique Constrain Problem niceFEPF C# 5 July 31st, 2009 07:04 PM
VS 2005 Problem: project requires a unique name. EugenX Visual Studio 2005 1 September 7th, 2006 09:15 AM
unique grouping-subtotaling problem hottub XSLT 1 March 31st, 2006 11:13 AM
Unique Problem rekha_jsr Classic ASP Basics 0 December 10th, 2005 12:21 AM
Update Problem aac Classic ASP Databases 2 July 21st, 2003 03:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.