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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

showing a picture in a datawindow

Status
Not open for further replies.

anneoctaaf

Programmer
Dec 15, 2003
104
NL
what i want to do is show a picture in a database. The debugger gets to this line...
This.Object.picture_name[li_Row] = String(llvi_Item.Data)

which gives the following error

application terminated
error typemismatch accessing external object property picture_name at line 74 in dragdrop event of object dw_details of w_details

I checked my dw dw_details, but it has a columnname picture_name, so i have no idea why it won't work.

PLEASE HELP!
 
check the data type of source column for "picture_name" in Dataobject definition

In your case this should be of string type

----------
gruss aus Deutschland
 
Thanx Leyka,

The datatype is an integer, which is strange, since the data source syas the data type is varchar(50).

Is there a way to change rthe datatype, because i tries to delete the field and reselect it again, but the data type keeps being an integer...

Groet uit HollanD!
 
You may wish to go through the tried and true Powerbuilder method of rebuilding the datawindow object from scratch. Often this is what it takes to 'fix' these types of issues.

Greetings from the U.S.A.
 
This is very strange...

Do you use a DB-Select as datasource?
Can you show it?

----------
gruss aus Deutschland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top