Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using IF with LIKE
Message
De
14/10/2014 17:46:47
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
À
14/10/2014 15:26:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01609335
Message ID:
01609372
Vues:
27
Hello Antonio

Thanks for your reply, but i think i discovered the problem:

If I used a variable
local myref as string
myref = '0.600/'
select bi
go top
scan
if like ('myref*' , bi.ref)
?bi.ref
endif
endscan

nothing is display, but if i use the value:
local myref as string
myref = '0.600/'
select bi
go top
scan
if like ('0.600/*', bi.ref)
?bi.ref
endif
endscan

the value is display : 0.600/1182

How to solve when i use a variable !?

Many thanks
Luis Santos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform