Tip Bank

DevX - Software Development Resource

Create a Disconnected Recordset

A Recordset without a live connection to a database server is called a disconnected Recordset. You can create a disconnected Recordset using the CursorLocation Recordset object property. The CursorLocation property

DevX - Software Development Resource

Embedded Spaces in Column Names

Question: I’ve inherited an Access database with embedded spaces in the column names. I use SQL with Visual Basic and want to select these columns and alias them so that

DevX - Software Development Resource

Sorting by StartDateTime

Question: I have a field called StartDateTime. In Microsoft Access it contained only a time. My code used to sort this field properly when outputting, so that morning events appeared

DevX - Software Development Resource

DECLARE Keyword

Question: What is the function of the DECLARE keyword in an SQL program? I am aware you can DECLARE cursors in embedded SQL. Are there any other instances where DECLARE

DevX - Software Development Resource

Field Names Are Invalid

Question: I’m using SQL queries in Delphi 4 to access a database. Some of the field names in the database are either reserved keywords or invalid in some way (for