Re: Reverse Grid
From: Wolfgang Schmale (Spamkocher_at_strang.lt)
Date: 03/26/04
- Next message: Wolfgang Schmale: "Re: Clent/Server"
- Previous message: Lee Mitchell: "RE: label control"
- In reply to: Alan: "Re: Reverse Grid"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Wolfgang Schmale: "Re: Clent/Server"
- Previous message: Lee Mitchell: "RE: label control"
- In reply to: Alan: "Re: Reverse Grid"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|