how to store random number in database using visual basic 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JuAn2226
    New Member
    • Mar 2008
    • 27

    how to store random number in database using visual basic 6

    How do I create database which will store the random number that generated before I reset the random number and how do I check that new random number after I reset is exists in database. If exist then generate again and store new number in to database. I have created 10 label in the form which display the random number and at the same time I want random number generated to be stored in database. I don’t know how to start Plz help me with coding. I don’t know how to start
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    1.Create table in database to store numbers.
    2.Generate random numbers.
    3.Check if the number already exits in database using COUNT().
    4.Insert the number if it does not exist already.
    5.If exists go back to step2

    Comment

    • JuAn2226
      New Member
      • Mar 2008
      • 27

      #3
      i'm new to database. Can i create table database using vb tool. if yes what tool. or i use mic.Acess.

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Since you are new to database ,it is better to use Access for the purpose.

        Comment

        • JuAn2226
          New Member
          • Mar 2008
          • 27

          #5
          Originally posted by debasisdas
          Since you are new to database ,it is better to use Access for the purpose.
          .

          Hi, i'm new to visual basic. Can anyone introduce any website that teaches how to store values from visual basic 6 to Microsoft access. To tell truth i have been serving the net for almost 6 days to get the beginner tutorial for storing data form vb to database. kindly show me the way.i'm in dead end now. My project due date around the corner.

          Comment

          • debasisdas
            Recognized Expert Expert
            • Dec 2006
            • 8119

            #6
            This topic has alredy been discussed here several times in the past .Please use the search box on the top right corner of the page with proper key words for some related discussions.

            Comment

            Working...