Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using IF with LIKE
Message
De
14/10/2014 18:23:58
 
 
À
14/10/2014 17:47:48
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
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:
01609381
Vues:
42
>Hello Lutz
>
>
>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

Have you tried something like this?
myref =  '0.600/'
select bi
go top
scan
    if like (m.myref+'*' , bi.ref)
        ?bi.ref
    endif
endscan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform