View Single Post
Old 5th May 2004, 10:17
günther günther is offline
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 579
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX
avoid active polling!

Reinhard, you are using active polling which might be very time consuming for your cpu; and I guess your activate part is not working. Here is a slightly modified version:

#include <bic_process>

long year, month, day

if type.of.field() = DB.ENUM then
  long child
  child = activate("ttstpcalendar")
  wait(child, WTHANG) | instead of "repeat until g.value > 0", year, month, day)
Reply With Quote