mig28mx
11th July 2009, 00:05
Hello All,
I have one display sesion with two forms. When the session starts, the records of form 1 displays correctly. But when I change to form 2, at the beggining I see the same records of form 1. It only refresh the records in from 2 when I push the single arrows of the form.
Anybody knows how to do the refresh records automatically, without have to push the single arrows icon of the form?
Here is my code
|****************************** field section *********************************
before.program:
import ("name",name)
import ("fami",fami)
form.1:
before.form:
ncmp.log = get.compnr()
query.extension = "tiitm001._compnr = 835 " & "and tiitm001.dsca like """ & name & """ "
rebuild.query()
refresh()
form.2:
before.form:
ncmp.log = 855
query.extension = "tiitm001._compnr = 855 " & "and tiitm001.dsca like """ & name & """ "
rebuild.query()
refresh()
I have one display sesion with two forms. When the session starts, the records of form 1 displays correctly. But when I change to form 2, at the beggining I see the same records of form 1. It only refresh the records in from 2 when I push the single arrows of the form.
Anybody knows how to do the refresh records automatically, without have to push the single arrows icon of the form?
Here is my code
|****************************** field section *********************************
before.program:
import ("name",name)
import ("fami",fami)
form.1:
before.form:
ncmp.log = get.compnr()
query.extension = "tiitm001._compnr = 835 " & "and tiitm001.dsca like """ & name & """ "
rebuild.query()
refresh()
form.2:
before.form:
ncmp.log = 855
query.extension = "tiitm001._compnr = 855 " & "and tiitm001.dsca like """ & name & """ "
rebuild.query()
refresh()