Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataFormat not supported by DataSource??

Status
Not open for further replies.

Painkiller

Programmer
May 18, 2001
97
NL
Hi all,

I'm trying to make a database interface in VB using a data control. The data control is connected to the database and it's recordset property to the table I'm trying to display/edit.

I've placed a checkbox on my form which should be connected to a field in the database that is of the type yes/no (I think this is known as boolean).

However, when I try to set (in design time) the data source property of the checkbox to the data control, I get the following error:

The DataFormat property is not supported for this DataSource.

I've tried to change the checkbox'DataFormat property from 'checkbox' to 'boolean', however, I still get the same error.

Anyone know how to solve this one?
 
Never mind. Just figured it out. Had to set the dataformat property of the checkbox to 'general' (??).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top