473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

VBScript - detect duplicate data

1
i am new in vb. i would like to know the vb script for detect duplicate data entry. this is the system for booking bus.the bus have unique number.nobody can book the same bus.the system will give the message to the user if the bus is already book.
Aug 9 '07 #1
1 1508
Killer42
8,435 Expert 8TB
Just find the data, the same way you would if enquiring on it. If you succeed in finding it, then it's already there and you should warn the user.

I can't be more specific, as you haven't given us any detail as to what sort of situation we're dealing with. For example, is the information in a database of some kind, or what?
Aug 10 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: J. Johnson | last post by:
Is it possible use viewstate to detect if a form's data has changed? I want to prevent duplicate submission of data. Example: On_click event of Submit button: 1. Save viewstate to session....
3
by: hermand | last post by:
I've got an online job application I am building using ASP/VBScript. The application consists of one ASP document which has three separate states. States: 1. Form Display 2. Form Review...
5
by: Wilkesy | last post by:
Hi All, Im trying to finish off some coursework im doing. Ive finished the database, created all my forms and everything works perfectly, that was until i created a switchboard!!! Im using...
2
by: usgog | last post by:
The client will pass a xsd file to me through my API and it will be parsed using SAX in JAVA. The XSD format is like following: <xs:complexType name="Item"> <xs:all> <xs:element name="item-id"...
8
by: JRatcliff | last post by:
I know this is re-hashing this old problem, I have looked at almost all of the questions regarding this one, and the responces to this. BUT I need to find a solution that will work. BackGround ...
2
by: tunk | last post by:
I dont know where to start my question so let me tell you my story :) The ASP that cause me trouble is running on IIS that set ASP default language to JScript instead of VBScript. This ASP page...
0
by: smiley1244 | last post by:
Hi all, I need help! I brand new to vbs having done a little with batch and after searching the net and I've even ordered some vbs books (not here yet) i thought i'd ask the experts. I'm trying...
1
by: oaklander | last post by:
I would like to make sure there are no duplicate data entries in my Oracle 9i table (called MainTable) which has an Id field that is the primary key, ValData with a varchar data type, Fid and Fid2...
9
by: DotNetNewbie | last post by:
Hello, I need a simple hash algorithm that will detect duplicate content in my application. I want to hash not just the content, but a few other parameters also like EmployeeID and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.