Closed Thread
Results 1 to 4 of 4

Thread: implementing a simple database

  1. #1
    martybell is offline Newbie
    Join Date
    Oct 2007
    Posts
    12
    Rep Power
    0

    implementing a simple database

    hey i'm looking to create a really simple database in vb to hold an 3 different strings (or maybe some sort of array would be better?)

    i just want the user to put a string into an inputbox, then it will send it to the database/array and then i can take the variable from the database easily later

    can anyone help? please keep it simple!

    marty

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Well you can use a text file too.. if you want. I never experemented with VB and Databases so I don't think I will be able to help you.

  4. #3
    martybell is offline Newbie
    Join Date
    Oct 2007
    Posts
    12
    Rep Power
    0
    ahh yeah text file would work too, but hard to call a particular item from the text document maybe? rather than taking a string from a certain cell in a database?

  5. #4
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Well will you save multiple strings? you can always make an enter between them and the load the text file into a listbox and lets say if you want the string 'car' and you know that car was stored into the 3rd line, then from the listbox you get the 3rd line and read it. But it is a little bit difficult, although maybe DB is even harder? I don't know.

    But here is a very simple way to use databases, I found this on my forum.. I think it may help?

    Help Needed !!

    The code is attached.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner C, file operations, simple database
    By irfan_s in forum C Tutorials
    Replies: 2
    Last Post: 10-04-2011, 07:59 AM
  2. Beginner Implementing Undo on simple TEdit or TMemo
    By LuthfiHakim in forum Pascal and Delphi Tutorials
    Replies: 0
    Last Post: 02-20-2011, 09:20 AM
  3. Simple database (php mysql)
    By cxn in forum PHP Development
    Replies: 6
    Last Post: 04-11-2010, 07:35 AM
  4. Simple MySQL Database Search
    By Jaan in forum PHP Tutorials
    Replies: 1
    Last Post: 01-01-2007, 08:15 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts