473,385 Members | 1,331 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,385 software developers and data experts.

sorting problem

Hi there,

I've made a report that shows the purchases my company has made based
and the purchases are sorted by supplier. The problem is that I'd
like to have the suppliers listed in alphabetical order but it is
listing it according to SupplierID (Sigma, Upstat, Bureau, etc instead
of Bureau, Sigma, Upstat, etc.). The control is set as Supplier ID
and sorted ascending, so I understand why it is doing this. When I
try to set the control as SupplierName, I get the message "The value
you entered isn't valid for this field. For example you may have
entered text in a numeric field". When I check the suppliers,
purchase orders and inventory transactions tables Supplier Name format
is set to text in all of them. Can any give me a hint as to why it
thinks it's not text, or does any one know how I can resort the
Supplier ID so that it comes out in alphabetical?

Much thanks in advance for any help provided!
Nov 12 '05 #1
1 1198
You could design a query and set the recordsource for the report to the name
of the query. In the query you can sort the records as you like. As far as
the "Control" being set to Supplier ID I assume you are using the Sorting
and Grouping function in the report. If so add/select the SupplierName from
the list. Highlight it and drag it above the Supplier ID field.

--
Reggie

www.smittysinet.com
----------
"Isabelle" <is********@hotmail.com> wrote in message
news:96**************************@posting.google.c om...
Hi there,

I've made a report that shows the purchases my company has made based
and the purchases are sorted by supplier. The problem is that I'd
like to have the suppliers listed in alphabetical order but it is
listing it according to SupplierID (Sigma, Upstat, Bureau, etc instead
of Bureau, Sigma, Upstat, etc.). The control is set as Supplier ID
and sorted ascending, so I understand why it is doing this. When I
try to set the control as SupplierName, I get the message "The value
you entered isn't valid for this field. For example you may have
entered text in a numeric field". When I check the suppliers,
purchase orders and inventory transactions tables Supplier Name format
is set to text in all of them. Can any give me a hint as to why it
thinks it's not text, or does any one know how I can resort the
Supplier ID so that it comes out in alphabetical?

Much thanks in advance for any help provided!

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
9
by: jwedel_stolo | last post by:
Hi I'm creating a dataview "on the fly" in order to sort some data prior to writing out the information to a MS SQL table I have used two methods in order to determine the sort order of the...
7
by: Federico G. Babelis | last post by:
Hi All: I have this line of code, but the syntax check in VB.NET 2003 and also in VB.NET 2005 Beta 2 shows as unknown: Dim local4 As Byte Fixed(local4 = AddressOf dest(offset)) ...
4
by: John Bullock | last post by:
Hello, I am at wit's end with an array sorting problem. I have a simple table-sorting function which must, at times, sort on columns that include entries with nothing but a space (@nbsp;). I...
4
by: FBM | last post by:
Hi, I am working on a program that simulates one of the elements of ATM. The simulation stores events which occurs every some milliseconds for a certain amount of time. Every time that an event...
4
by: Ambica Jain | last post by:
Hi, I want custom sorting on some of the columns in the datagrid. And i am able to do the same by overriding MouseDown event. However, i need to rebind my datatable to reflect the changes in...
7
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the...
1
by: Ahmed Yasser | last post by:
Hi all, i have a problem with the datagridview sorting, the problem is a bit complicated so i hope i can describe in the following steps: 1. i have a datagridview with two columns...
1
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar...
7
Plater
by: Plater | last post by:
I am having trouble determining when my DataGridView object is sorting (based on a column header click). The idea is, in a large table, sorting the columns takes time, so I show a splash screen....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.