Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word search
Message
From
30/01/1997 13:51:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00018851
Message ID:
00018853
Views:
30
>SELECT *FROM mytable WHERE mytable.ctitle LIKE '%'+cname+'%' into cursor temp.
>This always creates a cursor with 0 records. The same code executed outside of the form from a .prg works fine. Could someone please tell me how to get it to work?

Is cursor temp already taken in your form?

You don't have a space after *.

Have you tried SELECT * FROM MYTABLE WHERE CTITLE=CNAME INTO CURSOR TEMP?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform