Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: James Stewart
  Where is James Stewart?
 Christchurch
 New Zealand
 James Stewart
 To: Rizwanuddin Khawaja
  
 
 
 Rizwanuddin Khawaja
 Tags
Subject: RE: VFP7 - SEEK and data verification in forms
Thread ID: 33776 Message ID: 33825 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Forms
Date: Thursday, December 04, 2003 2:46:35 AM         
   


Assuming you are using a button on a form or even a lostfocus event... you could declare your variable with:

Mname = alltrim(thisform.txtname.value)

If mname = "" then
*Error mesage
Else
*Blah blah
endif

*OR
If isblank(Mname)
*Error message
*Or a message about entering a new customer?
else
*BlahBlah
Endif



Jimbo
Have you been foxed today?
I have :-) !

ENTIRE THREAD

VFP7 - SEEK and data verification in forms Posted by Rizwanuddin Khawaja @ 12/3/2003 1:46:15 PM
RE: VFP7 - SEEK and data verification in forms Posted by James Stewart @ 12/4/2003 2:46:35 AM
RE: VFP7 - SEEK and data verification in forms Posted by Pete Sass @ 12/4/2003 5:16:14 PM