07-17-2003, 06:00 PM
im makeing a program that will store my friends names and e-mail's, phone numbers and ect ect.... i already have how my form will look and some other things done but i need to know how i should store there data and then load it back into the text boxes i also want to beable to flip though with a next and back button and beable to add new names all help is welcome
07-17-2003, 06:04 PM
A sequential file or a database would both be nice solutions.
Are you familiar with either of these?
07-17-2003, 06:06 PM
i am not familiar with how to do/set up eather
07-17-2003, 06:07 PM
im not fimiliar with eather of those, i know what a data base is but makeing one i dont know how to do
07-17-2003, 06:17 PM
Well, a sequential file would probably be the easier solution.
You need to first declare a user defined type that will hold your friends' names, e-mail address, "phone numbers and ect ect" into fixed length strings... and then declare an array of these, and they can form your records...
Open filename For Random As #1 Len = Len(UdtElem(0))
For LV = 0 To UBound(UdtElem)
Put #1, , UdtElem(LV) 'Get if you want to read/load
07-17-2003, 08:02 PM
A few years ago I began working on a universal database program that would do what you want your program to do, and more. You can download and use the program for freem from this link http://chadbh74.tripod.com/unibase.htm . If you like how the program works or have further questions email me. I could even provide you with sections of the source code to see how things were done.