Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid generation at runtime
Message
From
02/03/2002 11:31:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/03/2002 11:19:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00627347
Message ID:
00627398
Views:
14
>Hi cetin,
>
>I worked fine, is it possible to display only some fields form the cursor.
>the cursor "TEMP" is from from sql. I am created the cursor using CREATE CURSOR.
>
>How can i and delete the records in the grid.
>
>Murali.

Murali,
Yes and multiple ways again :)
Easiest for you would be to have your fields in SQL in front and set columncount. ie:
*Load
create cursor temp (WillShow1 i, WillShow2 d, WillShow3 i, NoShow1 i, ....)

*Form.init
with this.myGrid
 .Recordsource=''
 .ColumnCount=-1 && Needed for a reset - if not here column formats preserved
 .RecordSource='temp'
 .ColumnCount=3
endwith
Delete is by delete command or clicking on delete mark.
PS: Set deleted on and move off the deleted record before a refresh.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform