Query special access
Hi Friends,
I have created a Bex Query. I will would like to give access to this Query to only one user. How can i do this. I am not allowed to put this Query in any roles.
I am planning to save this Query in User Favorites. How can i do this.??
Thanks
Tony.
The FM you are refering to might add the workbook to the user's meanu but still he would need correct roles and authorisation to run that workbook.
After all, workbooks are made up of multiple queries. If the user does not have the roles and authorisations, he will not be able to run it.
Same thing holds with the Queries.
Roy
Similar Messages
-
How to find out the query is accessing the DB tables or not
Hi Gurus ,
How to find out the query is accessing the DB tables or not.
Where exactly we will find this information in SAP BW.
I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?Lakshmi
Activate BI Technical Content for Query analysis and run query against that.
Hope this helps
Thanks
sat -
There are no functions containing returntype = 'query' and access!
Hi there
I am trying to add a recordset after defining a datasource and I keep getting the error when I do a CFC query search
there are no functions containing returntype = 'query' and access!. I have attached an image to show the error messag I get.
Can someone help me fix this? my datasource shows up as correctly configured in cold fusion and the mysql database is well configured as well.okay, adding another function to the CFC and saving it makes
it suddenly, magically visible to the function invocation window?
I don't understand. -
Does putting an app in Applications give it an special access rights?
Hi,
I am very concerned about security. I use no Flash or Java (no Java browser plug-in). I won't install anything that wants to be in the system Applications directory.
OpenOffice/VLC, for example, I just put in a user directory. I was going to install World of Warcraft and did not because it wants to install system components. I use Steam because I can install it in the user's directory.
The question is this: Does copying an app, like OpenOffice or VLC, to the system's Applications directory give it any special access rights when it is run by a user? For example, does user A running OpenOffice from the system Applications directory give it access to anything that user A does not have access to?
Regards, PatrickApplications folder is like any other folder, and the truth is that you can put your apps wherever you want. The difference is that Applications folder is a folder where all users can access to, so if you put an app in another folder, you will probably be able to access to the app only with one user. Apart from that, there isn't any difference.
Note that some apps are installed directly into Applications folder, like Microsoft Office. In those cases, I don't recommend you to move them to another folder because it doesn't make sense and because you may damage it -
Should there be a special access granted to access SOURCEFIRE under Firewalling?
Should there be a special access granted to access SOURCEFIRE under Firewalling?
I think that page is still under construction...though I am not 100% sure on that.
Please remember to select a correct answer and rate -
Query Builder access for end users
Hi,
I have a group of users who would like to have 'Query Builder' access.
Is it possible to directly access query builder without actually login-in into application builder.
Thanks in advance
AaliNo, but you could build a form to mimic it... Check out this thread from a few days ago: Query Builder functionality
Thank you,
Tony Miller
Webster, TX
On the road of life...There are 'windshields', and there are 'bugs'
(splat!)
"Squeegees Wanted"
If this question is answered, please mark the thread as closed and assign points where earned.. -
Special access - how do you get it?
I just advised somebody to post here, but they replied that they got the following message:
Sorry, but only users granted special access can post topics in this forum.
However, I can post there, as can many other non-mods/nonFAs/non-TUs.
How do you get special access?Its possible for mods and admins to post new topics in that forum, but anybody is supposed to be able to reply. Are you sure he was trying to post a reply to that topic and not a new topic in the announcements forum?
Dusty -
Convert SQL Server ROW_NUMBER() OVER(PARTITION BY() Query to Access
Hi,
I am having trouble with converting this SQL Server query to Access. If anyone can give me help I would appreciate it.
SELECT B.AMOUNT_REQUESTED, B.INIT_OFF, B.MBR_NBM, B.STATUS, B.APPLICATION_NBR
FROM
SELECT AMOUNT_REQUESTED, INIT_OFF, MBR_NBM, STATUS, APPLICATION_NBR, ROW_NUMBER() OVER(PARTITION BY MBR_NBM ORDER BY MBR_NBM) RN
FROM LOAN_DATA
WHERE APPLICATION_DATE BETWEEN '20150420' AND '20150425'
) B
WHERE RN = 1
ORDER BY B.MBR_NBMWhile there is no equivalent to ROW_NUMBER(), it appears that you are just wanting the first row of each group, and that CAN be accomplished in Access, but I do wonder why you would WANT to do that in Access if your data is stored in SQL Server. As
Tom indicated a Pass Through query object is likely your best bet -- or a View in SQL Server, then create a Linked Table object that points to it.
To get the first of each group ... which is essentially a TOP n, where n = 1 ... so .. the first thing you will want to indentify is a second field to use as a Key in order to define the "first" row you want in the group. In your SQL
statement, you are ordering my mbr_nbm, so the secondary sort is unknown -- likely predicable, but unknown with out knowledge of the schema ... so, I will provide samples by using APPLICATION_DATE as the sort key.
This one is the "first" of a series with the assumption that the one you want is the one with the "biggest"/"most recent" APPLICATION_DATE.
SELECT vLoanData.AMOUNT_REQUESTED, vLoanData.INIT_OFF, vLoanData.MBR_NBM, vLoanData.STATUS, vLoanData.APPLICATION_NBR
FROM LOAN_DATA As vLoanData
INNER JOIN
(SELECT MBR_NBM, Max(APPLICATION_DATE) As LastAppDate
FROM LOAN_DATA As vLast
GROUP BY MBR_NBM) As vLastApp ON vLoanData.MBR_NBM = vLastApp.MBR_NBM And vLoadData.APPLICATION_DATE = vLastApp.LastAppDate
Or ... the following is a TOP n query where n = 1.
SELECT vLoanData.AMOUNT_REQUESTED, vLoanData.INIT_OFF, vLoanData.MBR_NBM, vLoanData.STATUS, vLoanData.APPLICATION_NBR
FROM LOAN_DATA As vLoanData
WHERE (vLoanData.MBR_NBM & '|' & vLoanData.APPLICATION_DATE)
IN (SELECT TOP 1 (vCorrelated.MBR_NBM & '|' & vCorrelated.APPLICATION_DATE) As Key
FROM LOAN_DATA As vCorrelated
WHERE vCorrelated.MBR_NBM = vLoanData.MBR_NBM
ORDER BY vCorrelated.MBR_NBM, vCorrelated.APPLICATION_DATE DESC)
This second example is not going to win you any points with respect to speed, but is truly a closer model to the TOP N type thing you are doing in SQL Server.
Hope that helps!
Brent Spaulding | Access MVP -
try to place () on segments of criteria; WHERE (p.SvcDate BETWEEN '03/19/2015' AND '06/17/2015') AND (p.PayCode '37') AND (e.Active = 'Y') - not sure will fix
I have the following Query in Access and as it is, it works. I needed to add a new modifier to the "WHERE" clause of "Payroll.PayCode '37' so that it is not taking that paycode into account. Once I added that modifier, the entire query quit working stating that the query was to complex. I proceeded to struggle with the query for a while and eventually broke down and completely recreated the query in MS SQL where I have it working with the Modifier. Once I moved it to Access 2013 I get the same error that the Query is to complex. Could someone please help me out with this. Here is my SQL Query.SQLSELECT p.EmployeeNumber, e.Fname, e.Lname, e.Address, e.City, e.ST, e.Zip, e.DOH, e.DOT, e.DOB, e.[Mrtl Status],e.jobTitle, e.Dept, ROUND(SUM((p.PayUnit)/13),0) AS [13 Week Avg], eb.Eligible, eb.[Agreement Received], eb.[Benefits Term Date],...
This topic first appeared in the Spiceworks Community -
How to decrease the access time of a table (when a query is accessing it)
Hi
I have few master tables. Any of those table do not contains more than 1000 records. These tables are not updated frequently.
Now I want to make 6 or 7 table so that the access time becomes less than that of the others tables.
For example
say I have 10 master tables
table1
table2
table3
table4
table5
table6
table7
table8
table9
table10
Say the access time for a query that access these tables is 10ms.
I want to decrease the access time for table1, table2,table3 and table,4 say I want to make it 5 ms.
Could you please tell me how can I do that?
RegardsHi,
As you have stated master tables, I am not sure, have you checked with"creating a Cluster" , might check once which might suffice your requirement else
1 - Check the design once again
2 - tune the queries
3 - Check for materialized view
further based on your inputs we can suggest or analyze some thing.
- Pavan Kumar N -
To export query from Access to Excel in Read/Write mode in VBA
Below is the code which exports the query named 'LatestSNR' from Access to Excel;
Public Sub Expdata()
Dim rst As DAO.Recordset
Dim Apxl As Object
Dim xlWBk, xlWSh As Object
Dim PathEx As String
Dim fld As DAO.Field
PathEx = Forms("Export").Text14 'path comes from the directory given in form
Set Apxl = CreateObject("Excel.Application")
Set rst = CurrentDb.OpenRecordset("LatestSNR")
Set xlWBk = Apxl.Workbooks.Open(PathEx)
'xlWBk.ChangeFileAccess xlReadWrite
Set xlWBk = Workbook("PathEx")
Apxl.Visible = True
Set xlWSh = xlWBk.Worksheets("Metadatasheet")
xlWSh.Activate
xlWSh.Range("A2").Select
For Each fld In rst.Fields
Apxl.ActiveCell = fld.Name
Apxl.ActiveCell.Offset(0, 1).Select
Next
rst.MoveFirst
xlWSh.Range("A2").CopyFromRecordset rst
xlWSh.Range("1:1").Select
' selects all of the cells
Apxl.ActiveSheet.Cells.Select
' selects the first cell to unselect all cells
xlWSh.Range("A2").Select
rst.Close
Set rst = Nothing
' Quit excel
Apxl.Quit
End Sub
After the execution of code, the query is transferred to excel sheet and is viewed in 'Read only' mode. If I try to save it, a copy of the excel file is produced. Can the Excel be opened in Read/Write mode ? so as to save the workbook and also to transfer
the query to same workbook repeatedly.
If in case the change of mode is not possible, then is there any alternative method?Try this version:
Public Sub Expdata()
Dim rst As DAO.Recordset
Dim Apxl As Object
Dim xlWBk As Object, xlWSh As Object
Dim PathEx As String
Dim i As Long
PathEx = Forms("Export").Text14 'path comes from the directory given in form
Set Apxl = CreateObject("Excel.Application")
Set xlWBk = Apxl.Workbooks.Open(PathEx)
Set xlWSh = xlWBk.Worksheets("Metadatasheet")
Set rst = CurrentDb.OpenRecordset("LatestSNR")
For i = 1 To rst.Fields.Count
xlWSh.Cells(1, i).Value = rst.Fields(i - 1).Name
Next i
rst.MoveFirst
xlWSh.Range("A2").CopyFromRecordset rst
xlWBk.Close SaveChanges:=True
Apxl.Quit
rst.Close
Set rst = Nothing
End Sub
or else
Public Sub Expdata()
Dim PathEx As String
PathEx = Forms("Export").Text14 'path comes from the directory given in form
DoCmd.TransferSpreadsheet TransferType:=acExport, _
SpreadsheetType:=acSpreadsheetTypeExcel12Xml, _
TableName:="LatestSNR", _
Filename:=PathEx, _
HasFieldNames:=True, _
Range:="Metadatasheet!"
End Sub
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Create a view based off a query in Access WebApp
I'm trying to create a summary view based on a query. The query is being used to make a simple join two tables. I don't have an issue creating a datasheet or list view off the query, but when I try to create a summary view, I'm unable to
create it.
From the desktop app, I'm able to click on the plus sign to add a new view, give it a name, choose the type and select my record source. When I click on "Add New View" nothing happens. I do not get any progress dialog box as I do for
other views. The popup for the "Add New View" simply disappears. Is this the expected behavior?
Based on this thread I don't think so.
https://social.msdn.microsoft.com/Forums/en-US/a5e60abc-0061-429e-8ce8-2014626c42c2/access-web-app-open-a-subform-from-a-query-based-summary-view?forum=accessdev
Again, this is a simple query table 1 has 8 colums, all of them are simple text except for one lookup column that includes the data with the table, one column stores the a primary key from the second table. The second table is a simple table with
3 columns.
Is this a limitation of the Access Web App?Hi,
You should be able to create a new summary view off a saved query. The behavior you describe sounds very odd but I’m not able to repro this on my computer. Could
you try something for me? Try and create a new summary view and use a table as its record source. Does that get created OK?
Jeff Conrad - Access Junkie - MVP Alumnus
Senior Content Developer - Modern Assistance and Support Experience - Microsoft Corporation
Author - Microsoft Access 2013 Inside Out
Author - Microsoft Access 2010 Inside Out
Co-author - Microsoft Office Access 2007 Inside Out
Access 2007/2010/2013 Info: http://www.AccessJunkie.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/en-us/legal/Copyright/Default.aspx -
I have a no code sandbox solution, in a content by search web part, I want to return pages from the library except the page I am visiting.
I have 2 pages:
Page A, the title is: Page title without special character
Page B, the title is: Page title with special character "a b c d ..."
And then I use Title<>{Page.Title} in the query text of the CSWP.
While I visit Page A, the CSWP returns Page B, it works as expected.
But while I visit Page B, the CSWP returns nothing, expected result should be Page A. I just consider, whether the special characters in the Title of Page B breaks the query text.
I can not find similar topics in the forum, Does anyone have idea?
Many thanks!Thank you for your feedback, Daniel.
I have some updates, and found the root cause: if the field value contains special characters, the CSWP will not render the double quotation marks around the field value.
View the page html source, and then find the text "QueryModification", you will see what happen:
Query Text Input: Title<>{Page.Title}
1. While the page title is "Test Page 1" (without special character), the rendered query text is
Title<>\"Test Page 1\". It works as expected.
2. While the page title is "Test-Page-1" (with special character "-", of cause we have more special characters on production), the rendered query text is
Title<>Test-Page-1. The double quotation marks are not rendered by the CSWP, so the query text are broken. It does not work as expected.
If I make the query text as Title<>"{Page.Title}"
1. While the page title is "Test Page 1", the rendered query text is
Title<>\"\"Test Page 1\"\". It does NOT work since the
quotes are duplicated (no sure why CSWP duplicates the quota mark),
2. While the page title is "Test-Page-1", the rendered query text is
Title<>\"Test-Page-1\". Quotes are correct, but it does NOT work as expected still.
The expected rendered query text (view from the html source) should be
Title<>\"Test\\\-Page\\\-1\". (Here is test url: <a href="http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10">http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10)
From the above information, I can say the CSWP not handle the special character correctly ("\" is not inserted before any special charactor).
Is there any setting in CSWP can be used to resolve above problem? -
How to Create Filter by date Query for access using Data base connectivity tool
Hello,
I had started my project by reading Access datas, by using an UDL connection,
but now i want to create an access filter using a query that would permit to select two dates, and to obtain all corresponding datas, how to do it using the Parmetrized SQL query?
Best regards,
Remark: i dont know the SQL language
~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~
**The Best Way To Predict**The**Future Is To Invent It**
Solved!
Go to Solution.Hi mike,
I want to thank you for your help, i really appreciate it,
i tried to make the code as ur picture, i had no problem to execute it, but i have no data's in the output
i changed the date format, because i suppose that its a short date format in the database.
can you just look at it, and tell me if you can find the problem,
thank you again for your help
Best regards,
~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~
**The Best Way To Predict**The**Future Is To Invent It**
Attachments:
db.JPG 126 KB
lav.JPG 82 KB -
"System Resource Exceeded" for simple select query in Access 2013
Using Access 2013 32-bit on a Windows Server 2008 R2 Enterprise. This computer has
8 GB of RAM.
I am getting:
"System Resource Exceeded" errors in two different databases
for simple queries like:
SELECT FROM .... GROUP BY ...
UPDATE... SET ... WHERE ...
I compacted the databases several times, no result. One database size is approx 1 GB, the other one is approx. 600 MB.
I didn't have any problems in Office 2010
so I had to revert to this version.
Please advise.
Regards,
M.R.Hi Greg. I too am running Access on an RDP server. Checking Task Manager, I can see many copies of MSACCESS running in the process list, from all users on the server. We typically have 40-60 users on that server. I am only changing the Processor Affinity
for MY copy, and only when I run into this problem. Restarting Access daily, I always get back to multi-processor mode soon thereafter.
As this problem only seems to happen on very large Access table updates, and as there are only three of us performing those kind of updates, we have good control on who might want to change the affinity setting to solve this problem. However, I
understand that in other environments this might not be a good solution. In my case, we have 16 processors on the server, so I always take #1, my co-worker here in the US always takes #2, etc. This works for us, and I am only describing it here in case it
works for someone else.
The big question in my mind is what multi-threading methods are employed by Microsoft for Access that would cause this problem for very large datasets. Processing time for an update query on, say, 2 million records is massively improved by going down
to 1 processor. The problem is easily reproduced, and so far I have not seen it in Excel even when working with very large worksheets. Also have not seen it in MS SQL. It is just happening in Access.
Maybe you are looking for
-
How can I to repair this Index corruption??
Hi. I´m working with Oracle 9.2.0.7.0 on Windows 2003 SP2. I´ve a corruption issue on a PK index that I not am able to repair... I´ve detected it when I tried make a RMAN backup.This is the message: RMAN-03009: failure of backup command on ORA_DISK_1
-
My ipod touch 4th generation wont restore or turn on, how do i fix it?
I was using my ipod as usual, nothing seemed wrong with it and it died because it needed a charge. so i put it on the charger and when i went back to grab it for use it wouldnt turn on and my itunes was telling me i needed to download the newer itune
-
Solution Manager Configuration
Hi All, I want to configure Solution Manager for Support Activities and their reporting like creation of tickets by end user, resoultion time according to category. I need a documentation on the same if possible some configuration document. Help on t
-
Can you connect differently tagged text frames?
I have a one file document (no book) that I would like to have two columns on the first page and the Left/Right pages have one column with a side head. I would like the right column on the first page to flow into the second page. Is there a way to co
-
I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please