Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > File I/O and Registry > saving data


Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2004, 10:09 AM
Warren Warren is offline
Newcomer
 
Join Date: Feb 2004
Location: Oklahoma
Posts: 5
Question saving data


I just started learning visual basic yesterday by reading online tutorials and just trying things out on my own. There is an application I want to create and use at work but I am having trouble deciding how to do a certain part of it. Basically I am going to inventory about 15 items 3 times a week including how much new stock was recieved. Using that information the program will tell the user how much to order for the next truck based on average sales. My problem is what kind of data storage should i use? I have read about basic input output text file storage and database storage. I want my program to be able to funtion by itself and not require a program like Access but I dont know if a simple text file would be the most effecient way of doing things. Allso I could either just keep adding data and never delete it so i could see sales over time, or I could just keep say 5 weeks worth for my calculations so there wasn't so much data to manage. If anyone could give my any addvice on how to handle the data saving part I would really appreciate it.
Reply With Quote
  #2  
Old 02-25-2004, 10:57 AM
loquin's Avatar
loquin loquin is offline
Google Hound

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Arizona, USA
Posts: 12,378
Default

Well, you don't need MS Access to use an access data file to hold the data (although it's simpler to have MS Access available to the developer when creating the database file in the first place)

Using a database file has some advantages over using a text file (or better, a random access file) for holding your data. For one, you can have ADO (ActiveX Data Objects) do the searching for you by simply issuing a SQL statement to ADO. However, there IS a learning curve associated with using the database. Take a look at the examples in the FAQ in the first post in the database forum.
__________________
Lou
"I have my standards. They may be low, but I have them!" ~ Bette Middler
"It's a book about a Spanish guy called Manual. You should read it." ~ Dilbert
"To understand recursion, you must first understand recursion." ~ unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Newbie - Huge problem - should be easy for you eastcore Excel 5 02-09-2004 09:36 PM
Saving and loading data. miaoy2 General 2 09-29-2003 10:39 PM
problem saving data on various forms mercknucca General 0 06-16-2003 02:12 PM
programming for IRC with VB tutorial crazycheetah Tutors' Corner 0 05-04-2003 05:15 PM
Saving data... lots of data... to a file. Mithrandel General 6 06-12-2002 01:47 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->