Thread: SQLite
View Single Post
  #3 (permalink)  
Old 06-18-2008, 06:16 AM
Allan Allan is offline
Newbie
 
Join Date: Jul 2007
Location: PA
Posts: 1
Default

Erel,

I am loading a table w/ cmd.ExecuteTable("tbl1",0) and it puts the nulls in the table columns.

Sub tbl1_SelectionChanged (ColName, Row)
if isnull(tbl1.Cell(ColName,Row)) then tFld.Text="" else tFld.Text = tbl1.Cell(ColName,Row)

Causes 'Specified Cast is Invalid' Error
Is there a way to detect the Nulls?
__________________
AlT
Reply With Quote