en:dbstring [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:dbstring

## DBString (Function)

### Format

dbstring ( numeric_expr )
dbstring ( database_number , numeric_expr )
dbstring ( database_number , recordset_number , numeric_expr )
dbstring ( string_expr )
dbstring ( database_number , string_expr )
dbstring ( database_number , recordset_number , string_expr )

returns string_value

### Description

Return a string from the specified column number or name of the current row of the open recordset. If the field is a NULL value the empty string ”” will be returned. NULL may be tested for by using the DBNull function.

### Example

See example of usage on DBOpen page.

### See Also

DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString. Freedb, Freedbset

### External Links

More information about databases in general and SQLite specifically can be found at SQLite Home Page and SQL at Wikipedia.

### History

0.9.6y | New to Version
0.9.9.19 | Added ability to have 8 database connections
0.9.9.22 | Added column name or alias

en/dbstring.txt · Last modified: 2014/02/08 12:23 by admin