If the amount of data in the listview is not too excessive, you might accomplish this by modyfiying your database query and perform the sort using the query before filling the listview.
Try this of in 't vloms : probeer dit eens ...
---------------------------------------------------
WRITE THE FILE
SOME modifications may apply given your situation.
---------------------------------------------------
Function WriteAsciiFile(ByVal File_NAME As String, ByVal tekst As String)...
StepHanson,
I managed it this way with the help of Ibass his tip:
I've inserted only a group header just before the detail section and did draw the vertical lines in that space.
Then I marked the group for Underlaying the following sections.
Set the DataSource and DisplayMember properties of the CheckedListBox as shown below:
CheckedListBox1.DataSource = DataSet1.Tables("TableName")
CheckedListBox1.DisplayMember = "Field"
Hope this helps
Why don't you use the mousedown and mouseup event ?
In the mousedown you set a switch to True to track the status of the mousedown event. In the mouseup event you can track this switch and execute your code from here.
An alternative might be to use another mouse-event to write your code into...
I have an invoicing application and i want to draw a border around the detail lines of the report.
While printing the detail, I print the column lines of the invoice.
The problem is you can get approx. 50 lines on a report, but if the invoice only counts 10 lines, how can I fill up the rest of...
Here are some more examples on what you can achieve with manipulating the datagrid
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_CustDataGrid.asp
For your first try see the KB article at
http://support.microsoft.com/?id=192979, "PRB: VFPODBC Driver Ignores Path
in DSN When Executing SQL"
For your second try, the error message says it doesn't like the value you
have entered for SourceType. I'm assuming you used the OLE DB provider for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.