Re: Reverse Grid

From: Wolfgang Schmale (Spamkocher_at_strang.lt)
Date: 03/26/04


Date: Fri, 26 Mar 2004 17:34:56 +0100

Hello Alan!
How many Records do you want to display at once?2,3,4 or more? If you want
to display 2-4 records at once, you can use Cursors with two columns at
least for the most left cursor. First columns holds the fieldname, second
hold the value and you've to create so much Cursors as records you want to
display.
******************************************
create cursor first (cField c(15),cFieldvalue c(20))
select sourcetable
locate for theAppropiateRecord
if found
    lnCount=afield(aMyFields)
    for i=1 to lnCount
        m.cField=field(i)
        m.cFieldValue=transform(eval(field(i)))
        insert into First from memvar
    endfor i
endif

You have to do this for every record you want to display at once. Please
remember to change the Cursoralias for each Column Cursor.

-- 
----------------------------------------------
Mit freundlichen Grüßen
Wolfgang Schmale
[MVP für Visual FoxPro]
--------------------------------------------
"Alan" <anonymous@discussions.microsoft.com> schrieb im Newsbeitrag
news:408674B4-91E5-40AA-8BE8-B4C9121607FD@microsoft.com...
> Thanks for your input, however this is not what I was seeking. I would
like the grid to look as it does in the standard browse view (default to
"0"), except that the headers run from top to bottom along with the data for
that header. If a new recored is added to the table that the grid is
displaying, I would like to see to new data aligned from top to bottom on
the right side of the headers and right of the previous record. It's like
saying each record is display vertically instead of horizontally.
>
> Thanks Again...Alan


Relevant Pages

  • RGB Color Balance
    ... I am writing a display driver for Windows Ce 5.0. ... // init cursor related vars ... // check for line overlap with cursor and turn off cursor if overlaps ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to show/hide cursor on attach/deattach usb mouse
    ... Along with that Display Driver is modified with RequestDeviceNotifications, ... and switching on/off the cursor. ... handling USB mouse device notifications. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: General structure of disassembler
    ... 'regular' comments on source should display to the right of the ... He can move the cursor up and down and left and right in this text ... So does it when he moves to absolute source offset #0. ... In this scenario the root leaf ALWAYS holds ...
    (comp.programming)
  • Re: Another Castalia 5/Delphi 2007 preview video
    ... Finally, add an option at the top of the class combo for classless methods and all methods, which would then display those. ... When you press ESC to go back to the bookmark, it's hard to see where the cursor is. ... Some of these request may seem similar to those of another product, but let's face it, Castillia lives in the shadow of CodeRush. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Long Process
    ... I can change the cursor to an hourglass, ... update the Status Strip on the bottom during the process. ... I need to display this message before it starts the process. ...
    (microsoft.public.dotnet.languages.vb)