In my main window I have a data window. I am trying to set a value in it:
datawindow dw_1
long ll_newrow
ll_newrow = dw_1.InsertRow(0)
dw_1.setitem(ll_newrow, "old_premuim", 100)
The control is "dw_1", dataobject d_results.
Thank you so much for the long reply.
I am using powerbuilder 9.
Here is what I have done after reading you advice:
I have created datawindow d_incomingxml, freeform, external data source(incomingxml string).
On the main app form, I have added the datawindow control dw_1. I have set the...
I'm not quite sure how to create a data window object. I can create a datawindow control, but can't get it to work.
I found something called a datastore, but I get a null reference error when I run the app. Here is what I have:
datastore_1 = create datastore
datastore_1.dataobject =...
I have added a datawindow control to my form. I am trying to set its value to that of a string.
I have tried this:
dw_1.dataobject = w_test
and this:
dw_1.text = w_test.tabpage_result.mle_3.text
w_test is the parent window.
Basically I want to set a string value to the datawindow control to...
I am trying to save the contents of a control to a text(.xml) file.
I have tried the following:
string s_file_name, s_quote_response
s_file_name = 'C:\quote1.xml'
s_quote_response = tab_data.tabpage_result.mle_1.text
s_quote_response.saveas(s_file_name,"","")
I have also tried this:
string...
I have just inherited a powerbuilder application. I am new to powerbuilder, so I'm not sure where to start.
Right now, when opening the workspace, I get this SQl error:
------------------------------------------------
Select Error: SQLSTATE = 42502
Microsoft OLE DB Provider for SQL Server...
I am getting this errror:
The content is not a valid XML:An invalid XML character (Unicode: 0x0) was found in the element content of the document.
I originally thought it was the &, so I used the escape character, but I am still getting this error. Can anyone tell me where the invalid...
Yes, that would seem to make sense. I have not used the cfcontent tag. Would I put it at the top of the style.cfm and layout.cfm pages or would I wrap the reference to them in the page that is calling them?
I have changed the order of the tags to what you suggested, but still the style is not being applied.
Here is the site so you can look at the actual source:
http://farrarlawfirm.com/version0dot2/
Thanks for any help.
I have just developed a site from a template that uses a couple of style sheets.
The site renders fine in chrome and ie, but not firefox. I am using stylesheets
with a .cfm extension, something I am trying the first time, because they use
image references and I wanted to make them dynamic...
Thank you all for the help. I decided to just use a text input for the state field rather than a drop down. It gives up a little on functionality for the sake of looks.
Thanks again.
Please see screen shots here:
http://www.smithwebdesign.net/select/
The formatting appears properly in chrome and ff, but not ie. I'm not really
strong with styles, so any help would be appreciated.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.