Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown Member on SKIP?
Message
 
To
26/04/2002 18:02:17
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649752
Message ID:
00650952
Views:
18
Hi Cindy,

Problem solved. In my search form combobox valid event code I had
SET FILTER TO mytable.myfield = ALLT(THISFORM.cboCompany.DisplayValue)

When I exited the search form and went to the main form it seems that the FILTER condition got lost or something. The Prev and Next nav buttons SKIP and SKIP -1 in the main form took the cboCompany value and caused an error.

To fix the problem I changed my search form combobox valid code to
PUBLIC save_company
save_company=ALLT(THISFORM.cboCompany.DisplayValue)
SET FILTER TO mytable.myfield = save_company

I am not really sure I understand the problem, but I fixed it. Thanks again.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Previous
Reply
Map
View

Click here to load this message in the networking platform