Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with select and memo field
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problem with select and memo field
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01173446
Message ID:
01173446
Vues:
51
Hi all
i have a sql select like this :

Select Iif(Isnull(a.fpath),'',a.fpath) As afpath, a.qdate, a.qtime,a.fnum, Iif(Isnull(b.fpath),'',b.fpath) As bfpath,;
iif(Isnull(b.Status),0,1) As Status, c.family, c.Name, d.Name,a.userpass,d.ccode;
FROM ;
questions a ;
LEFT Outer Join answers b ;
ON a.fnum = b.fnum ;
LEFT Outer Join students c ;
ON a.userpass = c.userpass ;
LEFT Outer Join classes d ;
ON c.ccode = d.ccode Into Cursor temp

the problem is that b.fpath is a memo field and if the first record from answres table is empty the rest field in rescords converts to a character field but if it's not empty the rest is ok.

What's wrong?
Ali Mohammad Hossein Zadeh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform