powerbuilder

Relation does not exist

坚强是说给别人听的谎言 提交于 2019-11-28 05:06:15
问题 I have just connected Powerbuilder with PostgreSQL through ODBC, but something goes wrong when I'm trying to create a datawindow! I can't understand where is the problem. I will be so grateful to receive any answers. The error: Cannot create DataWindow SQLSTATE=42P01 ERROR:relation "core sample" does not exist; No query has been executed with that handle SELECT CORE_SAMPLE.N_CORE, CORE_SAMPLE.DEPTH, CORE_SAMPLE.WELL_ID_WELL, CORE_SAMPLE.ID_CORE FROM CORE_SAM' 回答1: Obviously, there is a mixup

PowerBuilder学习笔记之调用事件和函数

淺唱寂寞╮ 提交于 2019-11-27 23:37:55
2.7.1 调用事件和函数 完整语法:[ObjectName]ancestorclass::[type][when]name([argumnetlist]) 说明:ObjectName:指定函数或事件的对象名 ancestorclass:指定函数或事件的祖先类名 type:1 EVENT(调用事件类型),2FUNCTION(调用函数类型) when: 1 TRIGGER(立即触发事件或函数) 2 POST(异步触发事件或函数) name:事件或函数的名称 argumnetlist:传给事件或函数的参数值 win_ancesstor::EVENT ue_process() //调用祖先窗口win_ancesstor中的事件 ue_process() 来源: https://www.cnblogs.com/Bokeyan/p/11380906.html

PowerBuilder学习笔记之8.5高级窗口控件

蹲街弑〆低调 提交于 2019-11-27 12:58:19
1.列表框控件 列表框控件(ListBox)、图片列表框控件(PictureListBox)、下拉列表框控件(DropDownListBox)以及下拉图片列表框控件(DropDownPictureListBox)。 作用:提供给用户一组可选或可视的选项,运行用户从选择一项或多项。 列表框类控件的通用属性及说明: 列表框控件命名默认前缀:lb_ 图片列表框控件命名默认前缀:plb_ 下拉列表框控件命名默认前缀:ddlb_ 下拉图片列表框控件命名默认前缀:ddplb_ 1.1列表框控件的常用属性、事件和函数 1.列表框控件常用属性 (1)Sorte属性:指定列表框中的列表项是否自动按升序次序排序。 (2)MultiSelect属性:指定用户是否能够同时选择多个列表项,但只能通过鼠标单击来选择。 (3)ExtendedSelect属性:指定用户能否同时选择多个列表项。Shift+鼠标选中连续多项,Ctrl后单击选择不连续的多项,或拉出矩形框选择多项。 2.列表框控件的常用事件 (1)DoubleClicked事件:双击事件 (2)SelectionChanged事件:当选择了列表框中某个列表项时触发。 3.列表框控件的常用函数 (1)AddItem()函数:在列表项的尾部增加一个新的列表项。 格式:AddItem(String item) 例子:lb_1.additem("第五项")

Saving a datawindow as PDF in PB 10.5

情到浓时终转凉″ 提交于 2019-11-27 03:30:57
问题 I have a grid datawindow with a picture in it's background (with dimensions of an A4 page) and I would like to export both data and the picture as a (single page) PDF file. I used several combinations of the following commands but at most I got a 0-sized pdf. //dw_1.Modify("Datawindow.Export.PDF.Method = Distill! ") //dw_1.Modify("DataWindow.Export.PDF.Method = XSLFOP! ") dw_1.Object.DataWindow.Export.PDF.Method = Distill! //dw_1.Object.DataWindow.Printer = "\\prntsrvr\pr-6" dw_1.Object