Advertisement

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

2002ASP #10
Create database user

The following function creates a user. You can execute it under any user you like. [email protected] (Dror Dotan A')

2002ASP #12
ACCESS BACKUP ROUTINE

A short routine that backups the tables from an open Access database George Kinney

2002ASP #32
Avoiding use of null

How do you avoid the "Invalid use of null" error when reading null values from a database?If you try to retrieve a null value (empty field) from a database, you will get the error: "Invalid use of Null". Here is one way to get around this problem: ..

2002ASP #49
Copy a database table

How to copy a database table. This may require some tweaking.... "Bill Pearson"

2002ASP #111
Database Search Example

An easy example of Searching for records in a database. I posted this code last year without an example so here it is.

2002ASP #112
Easy Import Text into Database

Allows you to select a ascii file and import it into your database. Example provided!

2002ASP #116
VB2POSTGRES

This code demonstrates how to access a POSTGRES SQL database on a LINUX box via an ODBC connection. The demo ( using RDO ) shows you how to create a table, wipe a table, insert data, select data, modify data and write the modified contents back to the database.

2002ASP #185
Aprostrophe

Have you ever try so send a string variable to MS Access that have apostrophes using a SQL Statement? 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.

2002ASP #220
Dynamically Create Databases (.MDB's) in code

This code creates a Microsoft Access MDB dynamically.

2002ASP #236
Crystal Report Viewer

VERY VERY SIMPLE CRYSTAl REPORTS VIEWER - View Any Crystal Report with ease..lets you add reports to a list that you use all the time. Also allows for changing the parameter values. Very easy to understand code -- example report included. Hope you enjoy.

2002ASP #250
DBGrid Sort

It is nice technique for dbgrid sorting.You can sort Dbgrid Columns by clicking on the grid column header in two ways ascending or descending.

2002ASP #266
Total Record Count In ADO Recordset

This simple little function just returns the total number of records in a ADO recordset.

2002ASP #293
DBImpExp

A utility to import/export Access database from/to other application formats, e.g. Excel and text files (single field or delimited entries for multiple fields). With sample files and help, as well as ample remarks. It is advisable to run the sample files first (and read remarks in each frame). Once you are familiar with the pertinent rules, you may then begin to use the program to process your other files.

2002ASP #304
Address Book Update

Heres the update to my Address Book Example that pulls it information from an Access Database. I finally added the search and delete functions because I got tired of getting email from people asking me to write the update. :) Sorry it took so long but I've been busy opening up my office... Email any questions you have or comments to [email protected]

2002ASP #348
SQLDate

Dates in SQl queries often cause problems, as the date must be in the ANSI format whereas dates brought back can be in a different local format. This function simply returns the date in the required format and save having to type Format(DateString, "mm/dd/yy") every time.

2002ASP #358
DAOTableToHTML

Convert a database table to HTML

2002ASP #378
AddressBook

Personal email address book that opens directly the default email software, copies and pastes the address selected so as to be ready to write and send an email message. Useful when you use different PCs with different email software.

2002ASP #429
ProgressBar for a program using MS Access

Shows you how you can use a progress bar while reading an MS Access database. This example uses two progress bars, one for reading each table, and the other for reading the entire database. Programmed using VB6, if you have a previous version of VB you can add the frm file to a new project (However, I have not tried this myself)

2002ASP #455
SQL Database Image

Allow easy input and retrieval of images into an SQL database. Includes class file for easy implementation into your own program and a second project based on making the class into a dll for a IIS server. Will allow you to show pictures from you database on a webpage, input pictures into a database, remove the picture, retreive the picture plus more...

2002ASP #456
Ado SQL & Database On The Fly

This code will dynamically create an Insert SQL query for a database. It also teaches some things like how to create a database and table though code, how to use the ADOX library, data formatting and etc...just look at the code, to much to write. Requires ADO 2.5 and was created with VB6 SP4. Not tested on anything else. Reasonably good commenting, should be easy to understand.

Languages
Top Categories
Global Discovery