Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > How to get values on msflexgrid column


Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2006, 01:35 AM
eByong's Avatar
eByong eByong is offline
Regular
 
Join Date: Sep 2005
Location: Cebu Phillippines
Posts: 62
Default How to get values on msflexgrid column


Is thier anyway to get a specific value in a flexgrid:
I have attached here a screenshot of my flexgrid, in this scenario i wanted to get the smallest value under column Timein and the biggest value on column Timeout. I wanted to display the smallest and biggest value let say on a separate textbox...


best regards,
eByong
Attached Images
File Type: jpg col.jpg (38.5 KB, 3 views)
__________________
________________________________________

- Don't cry bcoz its over, Smile bcoz it happens...
Reply With Quote
  #2  
Old 03-02-2006, 02:18 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,882
Default

The text of a single cell can be retrieved using the .TextMatrix property.
What you can do is first check the TimeIn column and find the smallest value and store it in a variable. Then repeat the procedure for the other column to find the highest value.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->