随笔分类 - PB
摘要:html代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <t...
阅读全文
摘要://article_name:列名//editchaned事件//article:商品字典string ls_rtn,ls_data,ls_modifystring ls_name,ls_aidif dwo.name='article_name' thenls_data='%'+data+'%'ls_modify="article_name.values='"declare cur_art cur...
阅读全文
摘要:获取数据窗口的report对象//datawindow的process属性要设置为5datawindowchild lddcw_dwdw_print.getchild('dw_1',lddcw_dw)
阅读全文
摘要://------------------------------------//功能描述:在"<item value='1' name='测试'/>"中取'1'或者'测试'//参数说明//astr_org:目标字符串//astr_split:分割字符//ai_idt:位置计数器//------------------------------------string ls_rtninte...
阅读全文
摘要:if row=0 then return this.modify("datawindow.crosstab.staticmode=yes")string ls_name,is_jianc,ls_text,ls_valuels_name=dwo.nameif isnumber(right(ls_name,1)) thenis_jianc=this.describe('sale_ra'+'_t_'+r...
阅读全文
摘要:string ls_outlet_id,ls_valuegrObjectType lgobt_ClickedObject string ls_grGraphname = "gr_1" int li_series,li_category lgobt_ClickedObject = this.ObjectAtPointer(ls_grGraphname,li_series,li_category)if...
阅读全文
摘要:string ls_objects,ls_objinteger li_posls_objects = dw_1.Describe("datawindow.objects") do while (pos(ls_objects,"~t") > 0) li_pos = pos(ls_objects,"~t") ls_obj = left(ls_objects,li_pos - 1) ls_o...
阅读全文
摘要://增加判断临时表里下载的数据必须大于1条的条件否则不继续处理li_temp_cnt = 0declare cur_temp_cnt dynamic cursor for SQLSA;prepare SQLSA from :ls_sql3 using itrs_sqlca;open DYNAMIC cur_temp_cnt;fetch cur_temp_cnt into :li_temp_cnt...
阅读全文
摘要://open(w_query_progress)//打开进度窗口//初始化//w_query_progress.st_4.text='共计:'+string(li_pagecount) //li_pagecount:总共循环次数//w_query_progress.il_will_retrieve_row=li_pagecount //li_pagecount:总共循环次数//设置进度窗口的进度条//if isvalid(w_query_progress) then//w_query_progress.triggerevent('ue_progressset',
阅读全文
摘要:9.0---->8.0 print.printername="" print.canusedefaultprinter=yes print.cliptext=no print.overrideprintjob=no hidegrayline=no encodeselflinkargs="1" export.xml(headgroups="1" includewhitespace="0" metad...
阅读全文
摘要:ls_sql=" select isnull(sum(sale_q),0),isnull(sum(tax_sale_a),0) " ls_sql+="from article_sale_da a,article b " ls_sql+="where a.aid=b.aid and segregate_id in "+ls_fw+" and dt>='"+ls_dt3+"' and dt<=...
阅读全文
摘要:date ldt_s_day,ldt_e_day int day1[7] ={-4,-5,-6,0,-1,-2,-3} int day2[7] ={2,1,0,6,5,4,3} ldt_s_day = RelativeDate(ldt_day ,day1[DayNumber(ldt_day)]) ldt_e_day = RelativeDate(ldt_day ,day2[DayNumber(...
阅读全文
摘要:string ls_supplier_idint li_find,li_rtn,istring ls_biDataWindowChild dwchild_outletidchoose case dwo.name case 'customer_id' if data ='' or isnull(data) then messagebox("提示","客户编号不...
阅读全文
摘要:string pathname, namedinteger valuelong ll_count,ll_cntstring ls_record,ls_card_num,ls_dt,ls_tm,ls_machineinteger li_card,li_dt,li_tmdatetime ldt_dtmlong ll_success,ll_failed,ll_trackstring ls_trac...
阅读全文
摘要:http://www.itren.info/-MS-SQL-Server-SQL-Server_tiupi.htm 在数据窗口中查询出来的数据进行修改后,保存,使用UPDATE(),第一次点击按钮出现如上错误,以后均能成功保存.是什么问题,谢谢!!2005-02-19 15:06:51回复人: qltoumingupdate()后commit了吗2005-02-19 15:08:48回复人: xu...
阅读全文
摘要:摘 要 powerbuilder中数据窗口的数据缓冲区应用广泛,本文简述了pb中数据缓冲区的原理、状态 关键词 数据窗口; 数据缓冲 DATAWINDOW的四个缓冲区 在PowerBuilder中,DataWindow是用户前端用来存储、操纵数据的对象。在每一个DataWindow对象中有4个二维表作为数据缓冲区,用来存储查询到的数据。用户在DataWindow中对数据处理系统内部的操作实...
阅读全文

浙公网安备 33010602011771号