Active Server Pages Programming (ASP)/validating records in .asp

Advertisement


Question
Hi Srini !
I've written some asp pages which allow our test technicians to enter test data into an Access database. Three of the fields (primary keys) that they enter cannot be duplicated - if they are, I'd like to automatically change one of them in the background. Is this possible to do as part of the save page ?
Thank you very much !
Lorene

Answer
Yes,

You can do that without any problem, before saving first you have to select and find is there any records match with that 3 fields.  if so you can change one of the parameter and save back, infact you can run in a loop so that newly created 3 parameter also will be validated.

Hope you understand and let me know.

Happy programming!!

-Srini

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.