导航

远在上海2008

远在上海:记录崔文远在上海的日子

« 累了,今天不熬夜Adobe CS2 宣传海报 »

Array函数在BaaN V中的应用实例

今天做了一个BaaN V里的报表修改,目的是打算从cprao020这个表里的signal message中找出包含Reschdule in/out的信息的时间。

i want to fetch data from table cprao020,when sigal message include "Reschedule in/out",get the date
for example,
Sigal message is "Reschedule in to 08-25-05 23:59:50", i want to get "08-25-05 23:59:50"
Sigal message is "Reschedule out to 08-25-05 23:59:50",i want to get "08-25-05 23:59:50"
Sigal message is "Order (-part) should be canceled", i want to get nothing

the program script as follows,


  extern  domain  tcmcs.str17  iodate.g    |#iodate
  STRING strg(34)

  selectdo
  strg(1)=cprao020.mess
  iodate.g=""
  if strg(1;12) ="Reschedule i" then
  iodate.g=strg(18;8)
  endif
  if strg(1;12) ="Reschedule o" then
  iodate.g=strg(19;8)
  endif
  endselect


about the array function,please see the attachment file. click here
  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright 2005-2008 cuiwenyuan.com. Some Rights Reserved. Host by Edong.com.