Advertisement

Results for "Category: Databases/ Data Access/ DAO/ ADO"

ASP_Volume2 #32769
RECORDSET COPYING USING ADO 2.5 STREAM OBJECT AND XML (MDAC 2.5 REQUIRED)

PROBLEM: Creating a copy of a Recordset could mean using the Recordset.Clone method sometimes. However, this is not always appropriate because ADO’s Recordset.Clone method creates a Recordset which points to the same data as the original Recordset. This means that you really do not get a physically distinct copy of the original Recorsdet. Consequently, changes to the clone copy could modify the data in the original Recordset. An alternative solution would be to use a loop to append each record to a new recordset. This, however could end up being an unwieldy solution with potential performance penalties. SOLUTION: ADO 2.5 comes with a Stream object that can be used to create physically distinct copies of Recordsets. The article below demonstrates the use of the ADO 2.5 Stream object in copying Recordsets and the difference between the Recordsets created by the Recordset.Clone method and ADO 2.5 Stream object. Please see attached file.

ASP_Volume2 #32818
A Garage DB and Inventory system

Complete application. Customers Database, inventory system, search databse records, cool gui, Debtors alert, password protected. This application is suitable for a car shop. Whenever the mechanic finish a job on a car the only thing he has to do is to use the service wizard and select the parts he used from a list and the number of the parts. The application substract the number of parts used from the inventory and gives the subtotal and total price. (The login password is set to nothing for the moment so if you want to access the application just click the login button)

ASP_Volume2 #32849
Master Form Template

This code can be used as a template for creating master forms.

ASP_Volume2 #32851
Autocomplete with MsFlexGrid

Search data in a database depending of what you write in the textbox, if you press the "M" key in the textbox you will get all the data that begins with "M", VOTE FOR ME !!

ASP_Volume2 #32875
SQL Viewer

Simple program that views a database, transacts custom SQL statements in SQL Server 2000. The SQL-VB connection established here is the foundation of many front-end applications in RDBMS nowadays. This project uses ADO programming techniques.

ASP_Volume2 #32877
Database List maker

What you can do is hook up to a database, and with the use of a timer control, you can make a list of any/all records you want in a database. You can use an SQL statement (in the code already) to find a certain part of a string. The return results are any record that contains that particular string in it. Then with the click of a button it will go through each record found and make a list of them. For example, For a spell checker, I took a database that contained over 5,500 words. It went through that database in a little over 5 minutes to get every word made into a list. Very good ideas can come from this, have fun with it!

ASP_Volume2 #32942
Use Text Files with ADO

Connect to text file(s) and perform advanced queries using ADO. You can even return recordsets on CSV file without a header.

ASP_Volume2 #32951
crystal report date range

Print a crystal report in a certain date range

ASP_Volume2 #32964
Aprostrophe 'The Rebirth'

Have you ever try so send a SQL String to a database that has apostrophes ? If YES you will get a run time ERROR Here is your solution....A function that formats the variable before sending it to the database

ASP_Volume2 #32965
Fix Apostrophe in strings for SQL query

Fix Apostrophe in strings for SQL query

ASP_Volume2 #33013
Access Ado Database Remotely via Winsock Control

Heres a good example of using a winsock control to access a ADO database over a network/dialup connection. You will be able to access the database fully, with Add/Delete, Read/Write access. Also i have inbedded authentication against the database via the winsock control. This program is simply for basic job tracking, from inhouse, and for remote access areas. Bascially how this works, It sends the server a few commands/strings, and the server generates the sql statement and sends back the results, to the client winsock application, it then recieves the information and displays it out into a listview control with columns. --------------------------------If you like the code please vote!

ASP_Volume2 #33024
A 0 PhoneBook

Provides a simple to use, yet useful phonebook/contacts program. I have gone through and sussed out pretty much every bug I could think of, see if you can find any!

ASP_Volume2 #33027
ADO Toolbox Version 2.0

This program generates code that will open and close an ADO connection and recordset. There is also an option to generate navigation code. There are several other options which allow the user to select cursor style, cursor location, and locking style. Note: This project is an add-in. In order to use it, load the project, go to file and choose make ADOToolbox. Then load it from the add-in manager.

ASP_Volume2 #33035
Friends Database

UPDATED: Added better error handling just to be safe and neater... Also added more sound so all commands have a sound and upon loading a 3 second wav plays also... Great for learning how to add sound to enhance your program...Great for newbies to learn from...My first ADO database, i learned from tutorials on here specifically from Jerry Barnes so i think this would be great for people new to ADO databases to learn from but i suggest finding Jerry Barnes ADO For beginners source because it is incredibly commented on and will surely have you creating ADO within 20 minutes. I tried my best to eliminate any bugs but of course there has to be some somewhere... I also used sheridans active listbar for this program, the ocx is packed in witht he zip. Please let me know if i didn't include a needed ocx,file or just if something doesn't work right so i can fix or at least try to fix it. This took me awhile to make so please at least vote for me. Fixed a bug witht he extra button caused by a incorrectly placed setfocus, also fixed abug with the edit option displaying when save was pressed and causing an eof and bof error after the person tried to edit after re-opening the database later. Fixed a lot more bugs in this newer zip. -- IMPORTANT: Password for login is chris

ASP_Volume2 #33143
Access deduplication

We had a client who 'accidently' copied one databse table into itself causing duplicate records. Unfortunately Access only allows 10 columns in its De Duplicate wizard and we had twenty! This code allows you to pick the database you want deduplicating, lists the tables and the fields within the table so that you can chose the 'key' fields to deduplicate on. Then it creates a table within the database which contains all of the deleted duplicates from the table you chose. It assumes that you don't mind which instance of a duplicate record you want to keep and it uses Jet 4.0. Also if you run the appliaction twice on the same table you will loose all of the deleted records from the first session (it dosent create a second instance of the deleted table). It also dosen't contain Error trapping as I use Aivostso's VB Watch addin that creates error trapping for you. However, leaving that in would add superflous code so I have omitted it here. This code was wriiten on the quick but it has ben used in anger with correct results. Any constructive comments will be appriciated.

ASP_Volume2 #33199
Database Module

This Module allows easy connection to SQL Server 2000, ODBC, Access 97 and Access 2000 databases. The code is well commented, so may also help a beginner to get started with DB programming. If you use it, please rate it, and i look forward to any feedback you might have.

ASP_Volume2 #33243
A Very Handy Search Routine (new and improved & well commented!)

A Quick & Easy Search routine for ListViews AND Recordsets -- hand in hand. I find that a very nice pair-up in interface and behind the scenes action is the DAO set in conjunction with ListViews. To some this may already be apparent, to others perhaps not. Copy this code in, using the correct DAO refs and the correct ListView, pass the three parameters in, and it should work like a charm. Don't forget to vote for this code. Updated / Patched - 11/4/01 Check out this screenshot ->

ASP_Volume2 #33291
ScriptGen - Generate INSERT Scripts For MS SQL Server Data

One of the most wanted feature from users point of view in MS SQL Server is capability to generate INSERT scripts for MS SQL Server data. But call it Microsoft's ignorance, this feature not supplied since quite long. And even worse, there is no public domain application to do that. This feature is usually desperately required in situation like sending test data to somebody or supply sample data. So I decided to write my own. It's still isn't the perfect and can't handle all of the possibilities but it could be your best bet with supplied source code! This application is right now in state of easy installation but no on-line help is available. You may freely contact me for assistance however.

ASP_Volume2 #33318
AutoComplete Textbox Class

This class adds AutoComplete functionality to a textbox. You start typing and the class searches for a record that starts with the letters you typed, if it finds one, it completes the rest of the textbox with the record.

ASP_Volume2 #33353
QuarantineDB

The prodram look just like Access, so don't be mistaken. IF you won to learn how to work with databases- the answer is Quarantine DB. The program uses ADO and DAO. With QuarantineDB you can work with, create, delete, rename tables and queries, add, delete, update records. You'll learn how to work with MDI form. Just try it and don't forget to VOTE FOR ME. e-mail : kicheto@goatrance.com

Languages
Top Categories
Global Discovery