Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create memo field in SQL on the fly
Message
From
06/10/2003 06:09:58
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00835267
Message ID:
00835286
Views:
10
Zoran,

Replace your 1=1 with a simple .T.. ::)

Agnes
>Arnold,
>
>You could try something like :
>
>

>CREATE CURSOR Dummy ( MyMemo m )
>APPEND BLANK
>
>SELECT MyTable.*, Dummy.MyMemo;
>FROM MyTable;
>LEFT OUTER JOIN Dummy ON 1=1;
>INTO CURSOR MyCursor
>

>
>Cheers,
>
>Zoran
>
>>Hi Everybody
>>
>>Sometime I need to create an additional field in Select - SQL like this :
>>
>>Select FieldA,space(2) as FieldB from table readwrite
>>
>>where FieldB was created on the fly to put in some data manually as the cursor is readwriteable.
>>Ok. My question is : how do I create a Memo field ???
>>
>>Thanks for your idea!
>>
>>Arnold
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform