Article View: borland.public.interbase.sql
Article #131Re: insert into problem
From: Bill Todd [TeamB]
Date: Mon, 09 Jun 2008 00:24
Date: Mon, 09 Jun 2008 00:24
40 lines
2251 bytes
2251 bytes
Isaac wrote: > Hi Bill, > This table is a detail table hold items for each inventory (master > table) the primary key consist of "inventory code" and "item code" > for some reason customers need the item code to repeat for each > inventory not to be unique all over the table also I already made all > my logic based on those two fields , so I hope if there is a way to > get unique value for field "item code" on multi user environment For one inventory code suppose you have records with the following item codes. 1 2 3 4 5 I assume that if you insert a new record it would get item code 6. If you delete the record with item code 3. What are the item codes for the remaining records? Once you answer this question I can tell you how to get the row number. > > Thanks > > BTW: Is there a problem in the news group server many times I get > post message refused and I dont know whom I should report this to AFAIK the newsgroups are working properly. I have not had any problem posting and I have not seen compaints from anyone else. Are you connecting to newsgroups.borland.com? -- Bill Todd (TeamB)
Technical Details
Message-ID:
<484c7832$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<484b07da@newsgroups.borland.com> <484b16e4@newsgroups.borland.com> <484b52eb$1@newsgroups.borland.com> <484c007f@newsgroups.borland.com> <484c07a9$1@newsgroups.borland.com> <484c2394@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ed255c09332ecd2c
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd [TeamB]" <no@no.com>
Subject: Re: insert into problem
Newsgroups: borland.public.interbase.sql
References: <484b07da@newsgroups.borland.com> <484b16e4@newsgroups.borland.com> <484b52eb$1@newsgroups.borland.com> <484c007f@newsgroups.borland.com> <484c07a9$1@newsgroups.borland.com> <484c2394@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.9
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 63.147.41.232
Message-ID: <484c7832$1@newsgroups.borland.com>
Date: 8 Jun 2008 17:24:18 -0700
X-Trace: newsgroups.borland.com 1212971058 63.147.41.232 (8 Jun 2008 17:24:18 -0700)
Lines: 40
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail