I know that I can use something like:
=First(Fields!Group.Value, "helloWorldReport")
=Last(Fields!Group.Value, "helloWorldReport")
To get the first and last records of my dataset. However, how can I get the ones in between them? What if I have 9 or 10 other records, can I programmaticaly access to a specific record, i.e. record number 7?
Related
The user enters some search criteria and there will be nearly 1000 results (mostly other users). I want to save these result for later use. I.e to show how many times a user has been shown on a search result and when and by whom etc..
So if I just save them normally and if there are 1000 search everyday there will be 1 million records added everyday. Which will mostly be similar , repeated data.
Can the db tables be designed in a way that I will have to, say, only add 2000 records intead of 1 million?
I am working with a table like this:
ticket
previous_ticket
A600100001
A600100001
A600100002
A600100001
A600100003
A600100002
A600100004
A600100004
The ticket number in "ticket" is system-generated when a ticket is created. A duplicate value is placed in "previous_ticket" at the same time. However, if a ticket is copied, the "ticket" field will get a new ticket number and the previous ticket number will be listed in the "previous_ticket" field. The first three rows above provide an example of this process. There is an original ticket, a copy, then another copy. There is no limit to how many times a copy can occur. Unfortunately, the original ticket number is not retained in any field.
I need to count the instances of tickets being copied over time. Is there some way to use the "previous_ticket" field to do this, perhaps using nested queries?
Thanks
I'm facing a problem in my report. The report calculates how many times a specific (company's applications) url's were viewed/opened ignoring user data.
What I need is for the query to count the times viewed regarding that every user might have not only opened the application but also browse in it (i.e. filter something, but it is still the same application), then the data shows that the same user in minutes or seconds difference opened the same application - every click/filtering/recompiling the page etc. makes a new entry record, which is misleading, because the report shows how many times the application was opened as an individual record. The applications (which are the same in every country) are used in different countries therefore the log data is in different servers.
There are 4 tables from different servers, which have log entry data of the applications (url's), and they have to be inserted into one with already summarizes log entry data.
A small piece of the one table with the data:
A small piece of the second table just to see that the only difference between tables is litintranet, wokintranet:
There you can see that for the LogApp IFP the same user browsed with difference of seconds. But it should have only one record (just for opening the app), but has 3 records because the user probably filtered something or refreshed the page etc.
I need a query that summarizes this information and enters the new summarized / reduced records into a new table. The new table will be used for reports as the correct data of records.
The output should look like this:
How can the summarizing be done?
Thank you for your help
I've been developing a database for a call billing system in Access 2013. I've encountered a very strange issue when creating a query in Microsoft Access 2013. On the Query design tab.
If I create a new Query and have that Query display just one field of a table with 38 entries, the output shows 38 records, which is correct.
However, when I 'add' another table from show table command. Depending on the number of records in the new table, e.g 3 and then run the query without adding any additional fields to the query, the output shows a total of 114 records i.e 38 sets of 3 duplicates!
I've no idea as to why it does this?
I have an access form with few controls on it, like start-date, end-date, move_type, mover_name etc, when user fills this field n clicks on query command button, a select query is run and it fetches records from various tables depending upon the criteria mentioned by the user.
Later the same records are exported to excel file and a report is generated for user.
Now I need to do more with this, my select query has a field "quoted-price", depending upon the price quoted the records need to be sorted out.
EX : if quoted_price < 500 then it is a "domestic apartment1", if quoted-price is >500 And <1500 it is "domestic Apartment1" etc.
Now I need to do more with this, my select query has a field "quoted-price", depending upon the price quoted the records need to be sorted out.
EX : if quoted_price < 500 then it is a "domestic apartment1", if quoted-price is >500 And <1500 it is "domestic Apartment1" etc. and when all the records generated through select query are searched on this criteria, the records need to be grouped accordingly. Later the count for individual category is multiplied by a unit value and total charge is calculated.
I tried building many queries to do this and tables to refer to value but of no use. Any help will be much appreciated.
are you looking to create a new field depending on the condition? That may be step one of what you are trying to do, If so that is pretty easy. See here: http://allenbrowne.com/casu-14.html