Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Need help to find a solution for this problem

Need help to find a solution for this problem

Scheduled Pinned Locked Moved Visual Basic
helpquestiondatabasetutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jats_4ru
    wrote on last edited by
    #1

    Hi, Let me explain step by step, First: I have a file which gives details of a user as., FName, MName, LName, Address, TestDate, TestResult etc... Second: I have to import this file and store it in Data Base. And assiagn a unique number to each user. I am maintaining a Database where candidate details and test details are stored in separate tables using the unique id i created as the key. Third: If this user to whom i had already assaigned a unique number, will take another test. And again the data is send in the same format (FName, MName, LName, Address, TestDate, TestResult etc...). Forth: This file does not have any number or a unique field which can differentiate one user with other. Fifth: In this case i have to only input the test details and not the candidate details as the user is already holding a unique id. Question 1: How can i differentiate the users from one to another. Question 2: How can i check wheather the user candidate data is already in the database or not. As generally different users do have same name and common addresses which are very irrelavent to check.

    Jats

    modified on Friday, January 18, 2008 6:50:00 AM

    G 1 Reply Last reply
    0
    • J Jats_4ru

      Hi, Let me explain step by step, First: I have a file which gives details of a user as., FName, MName, LName, Address, TestDate, TestResult etc... Second: I have to import this file and store it in Data Base. And assiagn a unique number to each user. I am maintaining a Database where candidate details and test details are stored in separate tables using the unique id i created as the key. Third: If this user to whom i had already assaigned a unique number, will take another test. And again the data is send in the same format (FName, MName, LName, Address, TestDate, TestResult etc...). Forth: This file does not have any number or a unique field which can differentiate one user with other. Fifth: In this case i have to only input the test details and not the candidate details as the user is already holding a unique id. Question 1: How can i differentiate the users from one to another. Question 2: How can i check wheather the user candidate data is already in the database or not. As generally different users do have same name and common addresses which are very irrelavent to check.

      Jats

      modified on Friday, January 18, 2008 6:50:00 AM

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Jats_4ru wrote:

      As generally different users do have same name and common addresses which are very irrelavent to check.

      If different users really have the same name and the same address, then you don't have enough information to determine if a user already exists in the database or not.

      Experience is the sum of all the mistakes you have done.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups