473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need help in Sorting in VSFlexGrid

16
the problem is I have the code, sorting as below in the VSFlexGrid:

VSFlexGrid1.Sort = flexSortStringNoCaseAscending

I have a column that displays both Date and time

When I get this grid populated the first time, the Sort works.
when I select a different condition to populate the Grid, then when I sort clicking on the column that has both Date and time, it doesn't.
what happens is that it results the Grid with all 01/03/2005 00:00:00 data
i.e., it sorts only according to day

Hence I get the data from same day but different month and year together.

But whenever the condition changes, the below line gets executed
VSFlexGrid1.Sort = flexSortStringNoCaseAscending

Any help in this regard is appreciated

Regards,
Priya
May 25 '07 #1
0 2158

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Roberto Herrera | last post by:
Hello all, I am also having problems with the vsflexGrid. I can't make work the comboliste that I loaded into the vsFlexGrid Apparently the combolist is loaded, but when I make a click in the...
11
by: Shailja | last post by:
Hi, Can anyone tell me how to enter data into VSFlexGrid at runtime? Kindly send me coding of that.
1
by: Shailja | last post by:
Hi, Can anyone tell me how to add new row dynamically at runtime in VSFlexGrid? I have only one row in my grid at runtime. Now after adding one row, i want second row to be dynamically add in...
0
by: Shailja | last post by:
Hi, My form contains VSFlexGrid. There are 10 columns in it. I want to put combobox in each cell of column 2. I want to bind that combobox to database also. How to code that? Kindly help me. I...
3
by: Shailja | last post by:
Hi, I have kept combobox in VSFlexGrid. Now I want to make height and width of combo box to same height and width of that cell. How to do that? kindly help me soon if you know the asnwer.
4
by: Shailja | last post by:
Hi, How to lock perticular cell of VSFlexGrid. Suppose I want to lock cell of Row 1 and column 2. How to do that? Kindly let me know if u know.
1
by: Shailja | last post by:
Hi, Please go through the following code: i = VSFlexGrid.Rows i = i - 1 I am writting the statment VSFlexGrid.TextMatrix(i,0). Above statment generates an error "Type Mismatch".
0
by: Shailja | last post by:
hello, I want to lock particular cell of VSFlexGrid. How to do that? I want to lock cell (Row1, Column 2). Kindly let me know if u know the answer
1
by: Shailja | last post by:
I am using VB. I have one form in my project. I have following fields in that form 1) Bill No 2) Bill Date 3) Combobox of Customer 4) Address of Customer 5) Drug License No1 6) Drug License...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.