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

Error Accessing External Object Property

Status
Not open for further replies.

bentleygt

Programmer
Feb 24, 2004
16
0
0
US
I'm getting the following error:

Application terminated.
Error: Error accessing external object property text at line 136 in clicked event of object ........

The above error occurs on the following line of code:
tabpage_1.dw_1.object.header_t.Text = ls_string

I double checked that my datawindow has the 'header_t' field. I'm running PB6.5 against a MSSQL Server 7 DB.

Does any know what the problem is?
 
try this

tabpage_1.dw_1.Modify("header_t.Text='"+ls_string+"'")

instead of tabpage_1.dw_1.object.header_t.Text = ls_string
 
I've tried this but I get:

Line 1 column 23: incorrect syntax

I know I have this exactly as you stated. Also, my original syntax works fine in sqlanywhere, but not in MSSQL Server. Why would this be?

 
i tried this and it works for me :(
can you make sure that u have a static text called header_t in ur datawindow?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top