Skipping a serial number in MS Access report - ms-access

I am working on an MS Access report. It is about employee service records. This report asks a parameter which is the ID of the staff member and displays multiple records of its punishments. What I wanted was to skip a serial number of records based on type of punishment. For instance, I do want to skip number for a punishment that contains word 'aside'. So for this, I have added a serial number using a textfield making its control source=IIf([PType] Not Like "*aside*",1,0) its result like this.
The problem here is number 5 is repeating 2 times(as it contains 'aside' string). But I want that highlighted row shouldn't contain any number and next two to it should be numbered 6 which is correct already. My background is from MS SQL server. I can't handle complex VB code.

Related

MS Access Data Entry Validation

I've been tasked with creating a database to help with my company's annual physical inventory count. We have an ERP system that contains all our part numbers, and all of our part numbers come in boxes that have a carton label containing "part number" and "quantity" which are both barcoded. We are trying to switch to a system in which we scan all the boxes into my access database vs. our previous system of physically counting and writing tags. So far everything works great, the only issue is that some bar codes get damaged or just won't scan properly for some reason, so the scanners read the barcode as a part number that doesn't exist. We are able to export a list of all part numbers from our ERP system into an excel file which i have linked to my database that we use to see which part numbers were entered that don't exist in the system. My question is, is there a way to prevent people from scanning part numbers that don't match any part number in the excel file exported from our ERP system? I'm using ms access 2003
Using a combobox with LimitToList property set to yes is a great solution. Just to let you know that with this solution it is still possible to PASTE values that are NOT on the list. If you want to guarantee that it is not possible that the field contains wrong values, the best is that you create a Relationship (with referential integrity) taking the Table field containing all valid part numbers as the master field, and the one taking the scanned value as the slave field.

access SQL package with transposing

I decided to share one with you my dataset in an excel file attached, it is composed of 3 tabs, each tab represents a table + a 4th tab that represents the expected result.
the designation table is initially a relation that has become a table so it registers IDbeneficiaire + IDcontrat
Frankly I lost 2 days on that and I still can not do this on Access, I need this result for next week in an automatic way on Access. can you help me get this result with a SQL access request please
enter link description here

SSRS Line Chart--One line defined by a parameter (a subset), one line an overall average (parameter independent)

I am new to SSRS 2008R2 reports, so this may or may not be easy, although it should be very basic. Here is a table of what my data looks like in the query designer:
You can see that Provider.ProviderName (the Pro... column in the picture) is a parameter as well as the beginning and ending months. It is straightforward to add a line to a line chart depicting the No Show Value for the provider selected in the drop-down menu for the report (each month is one data point, typically for 12 months). But I cannot figure out how to add a line that shows the monthly average No Show Value across all providers, for the same selected time period, no matter what Provider is selected. Any ideas?
I would keep the Provider parameter definition in SSRS but unlink it from this dataset, so that it returns the results for all Providers.
Then in the existing Values entry (representing the Selected Provider), I would add an Iif function to return Nothing unless the Dataset Provider Field matches the Parameter provider.
Then I would add a new Values entry (series) for the Average No Show Value which will aggregate across all Providers.

Format combox in Access 2007

In my table I have one unique customer number per many invoice numbers. I only want to see that unique customer number with a summary of all the invoices on the print preview screen and see the unique customer number associated with the invoices on the list of the combo box using the drop down arrow. How do I do that? I am using Access 2007
Sounds like your first problem would be addressed with writing a report to show the result of a query that would list the summary details of all invoices tied to a customer number. This number would be fed to the query from your calling form.
Your second issue sounds like a combo box on your form that would be populated by a SQL SELECT statement in your control source that would pull information on invoice numbers tied to the customer number presented on the form.
I'm being general as I don't know your implementation, and you have failed to provide any context and previously tried-and-failed code.

Combobox query in Access 03 database showing on some pc's limited data

I have a combobox which looks at a table and displays it's 5 columns of data via a query to be used like a search, on most pc's all 5 columns populate with data but on some only the last 3 columns populate and it displays blank FirstName and Surname columns, any idea how this could happen or how to fix it?
Also the combobox isn't used to select just to confirm that searched for people are in the database so there are no events and it is all setup in the combobox properties.
Edit- I bet a post topic like this could stack up those tumbleweed badges if one could get more than 1 of em.
There could be two causes.
One possibility is that the number of rows being returned in a query is not the same as the combo box Column Count property. If you are changing the combo box Row Source property make sure the updates have the same number of columns. MS fixed this bug but I'm not sure when it was fixed.
More likely though is that the PCs in question don't have the following hotfix installed.
Description of the Access 2003 post-Service Pack 3 hotfix package: December 18, 2007