Advertisement

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

3_2004-2005 #147991
HTM2ASP Redirector (easy .htm/.html to .asp redirector)

Have you ever needed to switch the file extension of a large set of files from .htm to .asp but you were worried about other web sites linking to the .htm files? You could create a new redirector .htm file for every file you switch to .asp. Or, you can just download and set up this solution! Just drop this file somewhere on the web server (remember the URL), and then configure the Custom Errors settings in IIS (by default pointing to 404b.htm) to point to this file's URL. That's it!

3_2004-2005 #148183
ODBC Configuration

Ever wanted to configure ODBC Programmatically, from your code without any client configuration?. Here is how to do it. Please tell me what do you think ?! Please note that the code loads odbccp32.dll, that must be available at the Windows\System directory or on the search path, this DLL is installed by default with ODBC32.

3_2004-2005 #148185
Delphi 5 w/ MS-ADO 2

Manipulate databases via Microsoft’s ActiveX ADO Libraries. A sample database has been included. Get schema and data information as well as load, store and save blob info to a file. Note: Works with Access 97/2000, Oracle 8i (drivers required), and Microsoft SQL Server 6.5 and 7.0. ---See Readme.txt!---

3_2004-2005 #148322
CheckBox in DBGrid

This article shows you how to put a checkbox in a dbgrid. If the column is of boolean type, then a checkbox will appear. Great Look and very easy;

3_2004-2005 #148642
Function Profiler

If your scripts are running too slow, it may be that you have a function that's taking too long to run or that gets called too often. This function profiler watches the all of the function calls and records how much time is spent in each function. All of the documentation is included at the top of the source code.

4_2005-2006 #149704
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: ..

4_2005-2006 #149732
Copy a database table

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

4_2005-2006 #149733
ACCESS BACKUP ROUTINE

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

4_2005-2006 #149738
Create database user

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

4_2005-2006 #149878
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.

4_2005-2006 #149919
Dynamically Create Databases (.MDB's) in code

This code creates a Microsoft Access MDB dynamically.

4_2005-2006 #149939
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.

4_2005-2006 #149959
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.

4_2005-2006 #150014
Total Record Count In ADO Recordset

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

4_2005-2006 #150041
ActionFind

Ever wanted to find a special value in a database, but don't know in which table or field it's in. This tool helps you scan for a value in a database with 1 ore more tables in it. Only works on SQL Server. This tool can match exact or "LIKE" querys and has some other features. If you like it, improve it! :) (and tell me about it)

4_2005-2006 #150046
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.

4_2005-2006 #150057
AllowZeroLength

All fields in the selected table are processed and the AllowZeroLength property of the fields are set to either True or False, depending on the Status given as the finaal parameter The function returns a boolean value that can be used by the user to determin other operations.

4_2005-2006 #150084
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!

4_2005-2006 #150099
DAOTableToHTML

Convert a database table to HTML

4_2005-2006 #150103
dBASE databases

This is just a demo for dBASE files. It will open any number of dBASE files and there is one function which can be used to get data from any of those .dbf files.

Languages
Top Categories
Global Discovery