Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AS won't accept NULL values
Message
De
03/10/1997 12:09:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
AS won't accept NULL values
Divers
Thread ID:
00053091
Message ID:
00053091
Vues:
70
In VFP 5.0a, working in a local view, I am showing a list of patients from a medial record database with the
following columns:

cFirstname,cMiddlename,cLastname,cChartNumber,PHYSICIAN

PHYSICIAN is just a reference for the user, so I actually build the physician's fullname by calling a routine I
wrote, BuildFullName:

buildFullName(Physicians.cFirstName, Physicians.cMiddleName, Physicians.cLastName, Physicians.cSuffix)
AS PHYSICIAN

I store only the primary key of the physician in the patient record, and then use a left outer join to get the
above result. However, I keep getting the error:

Field PHYSICIAN does not accept null values.

because some patient's don't have a physician assigned to them yet. Is there anything I can do in the syntax to
force this calculated field to accept null values? I'd rather not change my BuildFullName() routine to return
"N/A" or whatever.

Thanks.
Jeffery Cotton
Berdy Medical Systems
JVCotton@bellatlantic.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform