Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Merinissa Galapon
  Where is Merinissa Galapon?
 Licab, Nueva Ecija
 Philippines
 Merinissa Galapon
 To: one delacruz
  
 
 
 one delacruz
 Tags
Subject: RE: evaluate my code
Thread ID: 188822 Message ID: 188828 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: Databases, Tables and SQL Server
Date: Tuesday, August 12, 2008 9:27:12 AM         
   


> Hi all,
>
> Can someone help me evaluate this?
>
>
> SQLPREPARE( gnhandle, "SELECT * from thetable t WHERE t.checkthis = ?checking and t.checktype = 1", "SQLRESULT" )
> if SQLEXEC( gnhandle ) <> -1
> if RECCOUNT("SQLRESULT") > 0
> messagebox ("Not allowed entry")
> return .F.
> else
> exit
> endif
> endif
>
> ***SAVING FOLLOWS****
>
> checking value is 2008-01
> In my table my data are:
> checkthis: 2008-01
> checktype: 1

Hello Lopera! What do you mean by evaluate?

Merinissa Galapon
Discontent is the first step in progress.

ENTIRE THREAD

evaluate(done) Posted by lopera @ 8/12/2008 9:11:02 AM
RE: evaluate my code Posted by Merinissa Galapon @ 8/12/2008 9:27:12 AM
RE: evaluate my code Posted by lopera @ 8/12/2008 9:31:45 AM
RE: evaluate my code Posted by Borislav Borissov @ 8/12/2008 9:28:31 AM