on 01-17-2013 7:10 AM
Hi,
In your formatted search query, use grouping.
SELECT DocDate From ORDR GROUP BY DocDate
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sir
Sorry For the late..
I had not checked this reply..
i had seen but i had tried bcz , little bit busy..
now i have a look on this post..
+++++++++++++++
in emp master i created a udf value..
I am trying to update the value...
but one error message is comming.. like
[Microsoft][SQL Server Native Client 10.0][SQL Server]The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.OHEM' and the index name 'OHEMIX_0'. The duplicate key value is 'User Key Description' (OUKD) (<NULL>).
if i see in the sql 22 null records are there..
how can i implement this one..
my requirement is in fms second option is there
Search in Existing User-Defined Values
i don't want to give the chance to the user for entering the duplicate values..
Hi,
Quoted : "
[Microsoft][SQL Server Native Client 10.0][SQL Server]The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.OHEM' and the index name 'OHEMIX_0'. The duplicate key value is 'User Key Description' (OUKD) (<NULL>).
if i see in the sql 22 null records are there.. "
If you are not allowing duplicate value, then you should clean up your old data first isn't it ?
Just update them so they contains no Null records and Unique.
"
my requirement is in fms second option is there
Search in Existing User-Defined Values
i don't want to give the chance to the user for entering the duplicate values.."
There is no way you can stop user to enter a duplicate value with using FMS alone.
Even using programming, you can never stop two user keying in the same value at the same time (Before the records were added)
You can only block the user from adding the record when there is a duplicate value in the Database.
Regards
Edy
Hi,
Sir..
One Thing i understood..
fms values i cant not stop if the person enter duplicate values...not in the db in the field ..
before adding..
but i can check it before adding perss 1 button..
actually i started this reply for solving the duplicate values..
now i realized it is not possible to stop it...
Thank u for your reply..
Keep posting..
Hi Edy,
True you cannot stop 2 people from entering the same data at the same time.
However, if your having a code to validate this data just before adding the data to the database, it's good enough to prevent this problem to almost 99%.
The probability of 2 people entering the same data at the same time where the same time being just a fraction of time in which the validation has to be run is mostly improbable. Especially for an SME solution where number of people using the system cannot exceed a 100 at a given point of time.
So I'm guessing the solution is fine..
Thanks,
Vijay
Hi,
Are you using UDT? Normally, if you are using UDT. It will not accept duplicate in Code field. So, put your value in Code field from your UDT.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.