|
-
Aug 6th, 2000, 06:25 AM
#1
Thread Starter
Lively Member
I had this button in my form and upon clicking on it the Recordset on the grid sort the names field in ascending order. The problem is that is does not reflect the actual table in Access upon sorting the recordset. I've wanted to reflect the changes made in the recordset and the table as well. This is the basis of my data report, changes in the actual table.
TIA.
-
Aug 6th, 2000, 09:11 AM
#2
Monday Morning Lunatic
Sort order in the actual table is usually irrelevant, because for reports, tables are interchangeable (up to a point) with query recordsets.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 6th, 2000, 05:32 PM
#3
Thread Starter
Lively Member
Table sorting
Hi again,
Can you give me an example of it? Because if I have three fields to sort in a table then I will generate three kinds of data report. if the actual changes on the recordsets reflect also in the table, then I will only produce one kind of generic data report. I would to minimize of creating three kinds of commands in the dataenvironment and data report with only one command and data report.
I'm new in VB . please help....
-
Aug 7th, 2000, 02:56 AM
#4
Monday Morning Lunatic
This should work to use Surname as the primary sort and FirstName as the secondary sort.
Code:
SELECT Surname, FirstName, PhoneNumber FROM People ORDER BY Surname, FirstName
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|