Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check empty field value
Message
De
03/04/2015 04:22:01
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
03/04/2015 02:55:41
Muthu Vel
Sty Company
Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617740
Message ID:
01617744
Vues:
44
>I have a table namely "student.dbf" havind the fields 1. Regno (I), 2. Name (C), 3. Caste (C), 4. Maths (I), 5. Physics (I), 6. Biology (I).
>
>
>I want to select the empty field value record for all the field.
>
>How to do this?

Note that it is not wise to name fields like VFP keywords like name

What means select the? empty field value record?

SQL SELECT?
SELECT:
 Cur1.*;
 FROM Student AS Cur1;
 WHERE EMPTY(RegnoI);
  AND EMPTY(Cur1.Name);
  AND EMPTY(Cur1.Caste);
  AND EMPTY(Cur1.Maths);
  AND EMPTY(Cur1.Physics);
  AND EMPTY(Cur1.Biology)
locate?
SELECT Student
LOCATE FOR EMPTY(RegnoI);
  AND EMPTY(Name);
  AND EMPTY(Caste);
  AND EMPTY(Maths);
  AND EMPTY(Physics);
  AND EMPTY(Biology)
browse?
SELECT Student
BROWSE FOR EMPTY(RegnoI);
  AND EMPTY(Name);
  AND EMPTY(Caste);
  AND EMPTY(Maths);
  AND EMPTY(Physics);
  AND EMPTY(Biology)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform