Alphabetical Sort Orders.
Sep 20, 2005
Hello.
How can I preserve the user-defined sort order in a column in a table?
Every time I exit the table, and go back, my items have been alphabetically sorted. This results in my Combo Box displaying the list in alphabetical order, rather than my custom order.
Thanks ahead.
View Replies
ADVERTISEMENT
Dec 7, 2006
i've now converted a large database to run with sql as well as linked jet tables. The main issue was checking every recordset to ensure it opened properly. I also found that sql returns a few different errors code from Jet, that needed trapping differently = all OK.
Now, in some cases I had opened the backend Jet table directly in order to use seek on a particular index, so this needed changing, as this is not available with SQL
I may well be wrong but i couldn't see an easy way of traversing a recordset table in SQL/ODBC according to a particular segmented key
Instead I was able to modify my process to extract the data I wanted with a query, and I then used a recordset on the query, which is fine.
HOWEVER, to emulate the index I was using, the query is sorted on about 6 or 7 different segments, the first of which is CustomerCode. Now when I opened the query to view it, I changed the sort order by clicking on a date column (as it happens) to sort it. When I then closed and reopened the query it still opened sorted on the date column, which is not right, as the customners are now all out of sequence. When the whole dataset was re-extracted it did return to the original and correct order
THEREFORE Is there a way of forcing a query to reset itself to its original ordering sequence. I think it is not likely that any user would ever open a query directly anyway, but it would be nice to ensure the query is always processed in the intended order. Perhaps it isn't a problem at all - maybe when a query recordset is opened in code, the sort order is reset anyway, but I would appreciate some views on this.
Thanks in anticipation
View 3 Replies
View Related
Mar 5, 2014
I have a database where I have 3 tables. first is client data, second orders data and third the products data.
What I would like, is to have a button on my form that after selecting from a combobox a product, it wil enter it in the tabel orders in the next available free record (row). I created a button and the combobox in the client form. The Products table has also the price per unit in it. It should take the whole row of data and put it in the Orders table.
Is there a way to do this? I guess it needs to be done with vba, but not sure.
View 9 Replies
View Related
Oct 23, 2006
I have created a form with a drop down box so that I can click on a client in the drop down box and it will pull the information from that clients record.. my question is :
Is there a way of having the clients names in the drop down box listed in alphabetical order without it changing the order in my table? My table is listed in order of project numbers not client names.
View 6 Replies
View Related
Jun 15, 2007
The main form of our contacts database has its source in a query which places all contacts in alphabetical order by surname. How do I get the query to sort by surname and then by first name? Also, how can I get the query to run each time a new contact is added so they are put into alphabetical order when they are saved, rather than appearing at the end of the list?
View 2 Replies
View Related
Sep 26, 2005
Hi can anybody tell me how i can make a list box alphabetical and it updates as new records are added
Thanks
View 3 Replies
View Related
Mar 14, 2015
Just starting off with access. Is there anyway of getting fields in a drop down menu to be displayed in alphabetical order?
View 1 Replies
View Related
Jan 4, 2015
I have inserted a bar chart onto a form using a totals query. The query is grouped by days on stock, eg. '0-30', '30-60', '60-90' etc. which is therefore the labels on the x-axis.
The chart displays the correct data, however, the chart automatically displays the categories on the x-axis in alphabetical order... '0-30', '120-180', '30-60' etc.. Is there anyway to adjust this order to be eg. '0-30', '30-60', '60-90' etc?
View 1 Replies
View Related
Jul 18, 2014
I have a string where alphabetical and numerical characters are mixed up. I need a string function where I can find the index of the first non-numerical character. I tried with the mid function but could not get it to work.
View 13 Replies
View Related
Aug 2, 2013
I have a report that generates 100 items in alphabetical order. All of the items are also displayed in a table. I have a bound form attached to the that table, and when the items appear they are not in alphabetical order. Therefore, it is a hassle typing in the data when the form will not appear in order, because instead of going in order I am flipping through pages. What is causing this to happen? And what can I do to fix this?
View 2 Replies
View Related
Aug 1, 2015
I have a Table with 6 fields, 2 are named Initial and Surname. Is it at all possible to have a combo box on a form with these to fields "joined" with the alphabetical order on the Surname. I understand that using a query will not work as the result is based on an expression
View 11 Replies
View Related
Mar 3, 2006
i made a report based on a query. when i run the query, my results are sorted by Job Time Ascending, like i want...
when i made my report i chose job id as the main group priority in the wizard..
now in my report it displays the jobs in ID ascending, rather than Job time ascending as my query says..
i dont want to re-do the report it took ages.. how can i fix this?
View 3 Replies
View Related
Oct 16, 2006
Hi all,
I have a form in Access 2K that properly displays city, state and zip codes. As I type in each letter of a city's name into the combo box, I get the first city in the sorted list displayed (autofills). That's fine when there is only one zip code for a city, but when I enter "chic" for chicago I still get the first chicago zip code in my table.
It sure would be nice if I could do a "sort within a sort" so that if there were two or more records with the same city name then that whole group would drop down so I could choose one of the other zip codes. If this is doable, kindly point me to an example as I need all the help I can get.
Thanks in advance for any responses.
D
View 6 Replies
View Related
Jan 9, 2005
I have a query that sorts players batting averages from highest to lowest. When I run the query just by itself it sorts it right however when I open the report based on that query it does not sort in descending order like I asked. What am I missing??
View 3 Replies
View Related
Mar 29, 2006
Hi all,
I am using a combo box in my form and its row source is set to Table A, however, the data in the combo box arent displayed in alphabetical order even though the data from Table A is sorted in ascending order.
can pls help me by teaching me How to display "row source" in combo box in alphabetical order??
thks alot
FT:)
View 3 Replies
View Related
Sep 2, 2007
I am new to access and have a form set for processing orders. How do I process multiple orders i.e a customer orders an onion and a pepper. Currently I have to create 2 orders and would like 1 order with 2 items. I am sure this is very simple. Hope someone can help
View 6 Replies
View Related
Dec 27, 2007
I know this is probably very simple but I do not know how to do it.
I have:
Table 1 - customers
Table 2 - Orders
At the moment, when a customer orders 2 items, I have to create 2 seperate order numbers.
I would like to have both items under one order number. Can anyone help with an easy solution.
Thank you
View 1 Replies
View Related
Oct 18, 2007
I have asked this before but could not work out the answer i got(sorry). I need things in very simple terms. I hope someone can assist me.
I have customer table and an order table. Customer table obviously holds all customer info. my problem is orders.
I would like a table/form that allows me to input muliple orders. i.e:
Customer: Smith
Item: Apple
qty: 2
Item: Pear
qty: 1
Item: Orange
qty: 3
I would like all items under 1 order. Currently I have to process them all individually. Can someone help please
Thank you
View 2 Replies
View Related
Jun 9, 2005
It seems I continue to run into this problem.
A company sells products in packages.
Example: Let’s say you build PCs
All of your PCs are sold as a complete product with 10 or so components
Your choices are to reenter every item each time you make a new quote, or automate the process.
This is the current method
Step1:
Create multiple tables identical with the orders detail table, and create all of the records needed to satisfy the order packages. Each table is one order package.
Step 2:
Create an order as you normally would.
Step 3:
Change the linking number in the package table (to the appropriate order number)
Step 4:
Paste the contents if the table into the Order Detail Table.
This works well but is labor intensive, and is not error proof.
So finely the question. Is there a way to automate this process with the selection being made form either a drop down list or a query .
My gut tells me it a macro thing but I don’t use macros for much and my VBA skills are limited to adapting code that I pick up here and there.
Any guidance would be greatly appreciated.
Sincerely,
Joe
View 2 Replies
View Related
Oct 31, 2006
Hi everyone,
I'm sort of new to Access, but over the past few months I've been able to develop an inventory database for my work which turned out quite nicely and does everything I need it to, except for one thing.
I want to also create invoices for my customers, and after looking at examples I understand that most people link the "order" with the invoice, so that there is one invoice per order. However, I need the ability to combine many orders into one invoice. That's where I'm stuck.
I don't know how to arrange my relationships and forms so that I can "pick" the orders I want on my invoice, and not at the time of the Order, but at some point after. Basically my orders will be established, but their allocation to invoices won't, until I come along and put them into their rightful bill.
Does anyone have any thoughts on this? I'm pretty stumped.
Thanks a lot for your help.
View 2 Replies
View Related
Dec 8, 2007
I am creating a database for a company that sells a product with a variety of options.
They have all their previous orders in a works spreadsheet file. Each customer has their own file with every order for the past 15 years. There are probably about 1.5 million records.
The company wants all those 1.5 million records accessible in their access database.
I've brought in about 20 records for the history and they can run a query to see a customer's past orders by their account number.
My question: Should I put all the history into one gigantic table or would it be best to try and create separate tables for the history? (Maybe history by state.)
The history table then will take the new orders each year and add to that table.
(Eventually, once the database gets done I'm thinking we'll have to step up to SQL but not sure.)
Thanks for any advice.
Melanie
View 7 Replies
View Related
Jul 24, 2007
I’m trying to make a simple program form y Company as enclosed. But since I am new about Access I don’t know how I can solve my problems certainly so, I need your help about.
We are getting orders from the customers and we are buying from domestic market. I want to make easier to send purchasing orders to my suppliers. Normally, as you can see from the enclosed file sales person enter the order to the system (Orders TARIK KARABAY form). We want to use these data while preparing purchasing orders but we are buying some of the goods completely manufactured by our suppliers. We mean we buy the item and sell directly to the customer. This step is easy. At the same time we are buying parts from suppliers and assemble in our warehouse. I mean we produce them. This is the problem I have. One of the goods we buy is HTS3; we buy directly as HTS3 from the supplier or we buy HT3 from one supplier and R3 from another one and KD3 from a third one and we assemble HT3, R3 and KD3 in warehouse and we obtain HTS3.
While buying as HTS3 it is easy as the only thing is to add Supplier name to the system. But while it would be produced in house, the system has to prepare purchasing form for HT3, R3 and KD3.
Purchasing department will see the Order Form, they would prepare the purchasing easily without writing again.
I don’t know what kind of tables and forms I have to open to solve this problem.
View 1 Replies
View Related
Aug 14, 2006
I have a database of submitted orders that were temporarily held by our Order Management group for any one or more than one reason categories. There are 20 possible errors that could cause this temporary hold to occur. Once the error(s) is/are fixed, usually by getting missing information, then the order is released to the fulfillment group.
The basic information needed is the average duration between the Hold Date and the Release Date for a particular reason. So, in the table, the fields of concern are:
HoldDate
ReleaseDate
Reason1
Reason2
Reason3
etc. The Reason fields are Yes/No.
I want to be able to get a report that shows the average duration for each reason, but all in the same report. I can get it for a single reason, but without writing 20 separate queries or putting 20 formulas in my report, I can't seem to get what I need.
Any help is greatly appreciated.
View 1 Replies
View Related
Nov 4, 2006
Hi I am looking for a formula for my query which filters out only the orders raised in the current week.(5day week Monday to Friday) I did not want to enter dates manualy.
Can this be done ?
Can anyone help me with this.
Tks
View 3 Replies
View Related
Mar 22, 2007
I want to write a query that would delete records from 3 linked tables
Customer has Orders that have Items
The Order table holds the date of the orders. I want to delete all customers that have not placed in order since a user entered date.
Not got off the ground on this one. Any help appreciated.
Badger
View 3 Replies
View Related
Apr 15, 2005
hi
is there away to filter rows when certain values in three different tables are the same. e.g. it is a stock control db - so when goods orded = goods in = goods taken - can this then be filtered automatically to hide rows and avoids congestion on the user interface (form)?
thanks
scott
View 1 Replies
View Related