Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create and update filed with selected records
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311271
Message ID:
01311272
Views:
14
This message has been marked as the solution to the initial question of the thread.
>
>SELECT scode ,;
>       CODE  ,;
>       descr ,;
>       fname ,;
>       descru,;
>       fnameu,;
>       lcode ,;
>       sec   ;
>from student into cursor vvvvvvvv readwrite
>now i want create new field in vvvvvvvv  AND add following as string(messagebbb)
>
>messagebbb= " id#"+Alltrim(code)+" Name"+Alltrim(Name)+"Fname"+Alltrim(fname)+ "Level"+Alltrim(lcode)+ " Sec"+Alltrim(sec)
>
>thanks
SELECT scode ,;
       CODE  ,;
       descr ,;
       fname ,;
       descru,;
       fnameu,;
       lcode ,;
       sec   ,;
       CAST(" id#"+Alltrim(code)+" Name"+Alltrim(Name)+" Fname"+Alltrim(fname)+ " Level"+Alltrim(lcode)+ " Sec"+Alltrim(sec) as CHAR(200)) AS NewField;
from student;
into cursor vvvvvvvv readwrite
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform