Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter
Message
From
19/01/2005 10:50:50
 
 
To
19/01/2005 09:03:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Filter
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00978510
Message ID:
00978565
Views:
27
>i want to get just what i need to see at my grid exactly via this code under
>any help ,idea

A return clause is missing before else statment
LOCATE FOR  dat=thisform.text2.Value
IF  FOUND()
    SET FILTER TO MONTH(dat)=MONTH(thisform.text2.Value)
    thisform.grid1.Visible=.t.
    thisform.grid1.Refresh
    thisform.grid1.column7.setfocus()
    RETURN && <---- here
else
    =messagebox("the date not found ")
    thisform.grid1.visible=.f.
ENDIF
SET FILTER TO
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform