LookupCommandbutton isue

The place for peer-to-peer support for Visual ProMatrix versions older than VPME 9.1.

LookupCommandbutton isue

Postby geotah » Fri Apr 15, 2016 2:42 am

Hi all,
"Suddenly" one of my textbox control with referential integrity, works in a peculiar way. When i press the lookupcommandbutton in right of the control, it shows the picklist with the ok,cancel,add,edit buttons and i press the add button and save a new record, then it does not return the fk of the new record as it used to return.
Now if i press the "f2" key when the control has the focusl, it shows the picklist with the ok,cancel,add,edit buttons and i press the add button and save a new record, then it return the fk of the new record as it is meant to do.
This behaviour changes after a new version of my application but only on one control, in a form of the hole application. All the other controls with the same functionality works the expected way.
I use vfp 8.0, vpme8.1.

Any help or idea of what has happened would be appreciated.

Thank you.
George Tachtsidis
geotah
 
Posts: 15
Joined: Tue Jun 22, 2010 2:33 am

Re: LookupCommandbutton isue

Postby geotah » Tue Apr 19, 2016 5:46 am

The answer found.
For the story to be completed, it was a remarked "this.refresh" command. It de-remarked and the problem solved!
(the "this.refresh" is into pgfparent.page1.Activate method)

George Tachtsidis
geotah
 
Posts: 15
Joined: Tue Jun 22, 2010 2:33 am


Return to VPM - older versions

Who is online

Users browsing this forum: No registered users and 2 guests

cron