Update query for numbering the records
Could anyone Pls. help me to form an expression in the update query which will be using to update the numbers in increasing orders for a set of records in a table. For example, a table contains fields like (Customer Name/S.No/Items Description/Unit/Price/Invoice no.). The update query shall be used to enter the Invoice no. in increasing order for the set of Customer name in the fields
Specific autofill in form
I have a form in Microsoft Access with barcodes for every single product. First I enter the barcode and other values for one product.
Then I enter a new row and my next barcode should be +1 from the first one. Example: the first barcode is C2025540 and the second should be C2025541, the third C2025542 and so on.
Can I somehow enter just the first, and then the next ones (second, third .) fill in automatically by increasing it by 1.
Calculate if number of records is increasing or decreasing
I have a database with a table of every client (current and cancelled clients) and a query just showing the current clients.
I want to show if the number of clients is increasing or decreasing, but I'm unsure how?
I was thinking maybe calculating the average number of records for this month, and then seeing if the current client is above or below this average.
In VBA I have CRecords = ("*", "qCurrentClient")
TRecords = ("*", "tblClientDetails
Macro for increasing table values
We have a list of students, all their information, and the grade that they are currently in. There is a field(called: Grade) in a table (called: students), and at the end of the year, i need a macro that increases their grade by 1.
Query to select only records with certain values
I have a large database with over 1MM records. It is a database of reservation records, with 15 separate tables. I am attempting to do two things: find records containing ONLY certain field values, and none of the other possible values, and find records that do NOT contain those values.
Example: I need to find records that contain one of three values, and also contain one of 3 other values, but no additional values. The record needs to contain one of these 3 values - UO ADM, UO ADM FL or FLEX ADM, and it also needs to contain one of three other values - CW INCLUSION, TP TRANS or EPA. I don't want records that include any other values
Similar to countif
I have a current dataset that is in excel however has become to large. Currently in that data set I have a key associated with each record for lookup purposes however that key is not exclusive. For instance multiple records will have the same key. For lookups I have used the formula =countif($B:B2,B2)&B2. The result as I copy this formula down to the next row is each new occurrence of the same key will have an increasing value associated with it. This allows me to set a vlookup to pull the 1st record the 2nd and so forth.
I am going to pull all of the data into access and need to be able to recreate this key so I can put it back in excel as values and then perform the lookups. Because of limited use of Access in my corporation I can not do all of the work in Access
chart using variable values
I have some code behind a form which calculates some simple values and places them in unbound boxes. All these values are stored in variables such as a1, a2, a3 and b1, b2, b3, etc
I would now like to make a line graph with those values on the same form, but when I try to use the "Graph" icon it asks me for a query to get the values from. How can I create a graph using known values instead of a table/query
Problem with Listbox update via Combobox and Field Values
I have a listbox(includesA) which works via combobox(sel_mac) update sort and the field values that were selected prior, however, the values it posts are numeric ID values and not theactual field values I want to be shown in the listbox.
I have some code below that pushes the updates from the combo to the list.
How to transfer values from forms to table
am having problems with values on my forms in access.the thing is, in my form i change some values by using control source and put some formulas to control source like =date+102 . then im wondering why the values are not reflecting to my tables.
Need to calculate a number of values and display values to user
I'm working a project where I need to calculate the EVM for each project in the db. I need to query a table for the values I need and do some calculation with the values then display these values.
I'm thinking I should be able to use a listbox for display if I could figure out how to gather all the data I need and calculate the values.
The challenging part is I have to perform 14 different calculations for each project. So my question is how do I do this when I have to perform a different query for each calculation?
Finding EOF record number
I have a Table (Tbl_Orders) which holds information about orders, it consists of an order_id and is a number data type. Is it possible using vba to find the order_id value and then increase it by 1? If so how would I do this? Increasing by one is the easy part just need some guidance as how to retrieve the EOF/Last value of the table
Compare values in two columns present in seperate tab
How can I compare values in two columns (columns are in different tables) ? I also want to display the values that don't match in a separate table.
If values in Column1 from Table1 does not match Values in Column1 from Table2 then display those values in a separate table
Is there a way to do this?
I have a form which is opened by many users using a UserPass form. So the username is used to save the data under the particular person's name.
Now suppose a particular person updates 7 orders is it possible to view the same thing in the same main form.
and also that it refreshes as the persons updates another and then the other. so it keeps increasing.
I want it to be viewed on the form itself.
Having trouble with increasing MaxLocksPerFile in registry
I increased the number in Value Date to 2 million, yet I am stii getting this annyoing message. Few questions
1) what should I have as base - Hexadecimal or Decimal ?
2) Does 'Value Date' supposed to have 'c' at the end ?
3) whats the max number I can enter ?
4) Do I have to restart PC after changing
Scatter Chart not Showing X-axis Values
I have a scatter chart in a form that I want to show Flow Rate versus Pf^2-Ps^2 in Access 2007. The Y values plot correctly in the chart, but X values just plot as 1, 2, 3 in succession. How can I get the X values to plot on the X-axis.
I have included a screenshot of the chart and table and the Data Properties. if anyone knows how to transfer the trendline equation into my query or form so that I can use it to calculate other values,
Scatter Chart not Showing X-axis Values
I have a scatter chart in a form that I want to show Flow Rate versus Pf^2-Ps^2 in Access 2007. The Y values plot correctly in the chart, but X values just plot as 1, 2, 3 in succession. How can I get the X values to plot on the X-axis. I have included a screenshot of the chart and table and the Data Properties. As an extra question, if anyone knows how to transfer the trendline equation into my query or form so that I can use it to calculate other values,
Find and Generate Missing Values in an Access Table
Access can offer a lot of help with missing values, but finding and generating missing values in a field of sequential values requires a bit of code. Find it here.
Need to autocalculate the total field
I have a form in which I have 4 fields A,B,C,D and a total field Total.
The fields takes integer values .All the fields are optional .I want the total field to autopopulate with the values I enter in these fields .I can give all values,no values,1 ,2 or 3 values. .Plz suggest
ComboBox not listing values
So I have a textbox on a form that contain values. I want to convert it to a ComboBox. Since a lot of these values are the same in a lot of records (for example, "Inventor"), I want the entered values to appear in the ComboBox dropdown so they can just be selected instead of typed in. I converted the textbox to a Combobox by right-clicking on the textbox => Change To => ComboBox. It changed successfully, but I want it to list the values in the dropdown, but it doesn't. What am I doing wrong?
Automatically Add Predefined Values to a Table Field
Providing a choice of predefined values for a field is useful for table values that rarely change. For example, in a "salutations" column, you might enter predefined values of Mr., Mrs., Ms. and Dr. Then, when entering data, the user will be presented with a list of choices, and just needs to click the one to be used. You can create a field with predefined values either in Design view or Datasheet view. Here's how to automatically add predefined values to a table field in Microsoft Access 2003.