1799e8a5-baf8-42e3-882a-8d1f48c898d4|0|.0
Making the Sub-Report wider will fix this issue!
7b53ce71-3cca-4b6f-a174-58f3a8b60057|0|.0
From here: https://superuser.com/questions/579900/why-cant-excel-open-a-file-when-run-from-task-scheduler
1. Open Component Services (Start -> Run, type in dcomcnfg)
2. Drill down to Component Services -> Computers -> My Computer and click on DCOM Config
3. Right-click on Microsoft Excel Application and choose Properties
4. In the Identity tab select This User and enter the ID and password of an interactive user account (domain or local) and click Ok
Keeping it as the interactive user or the launching doesn't work with the task scheduler unfortunately, even when setting the task up to run under an account that has admin access to the machine.
4a55fc18-c1aa-41f2-a3e9-d8c0e37c1676|0|.0
From here: https://www.access-programmers.co.uk/forums/threads/subreport-headers.256308/
In the Subreport do the following and you will have the Report header on subsequent pages.
1. Click on "Add a Group"
2. Select "Expression"
3. When the Expression Window appears, type in "=0" and click OK
4. Make this group only have a header section
5. Click on the group's header section
6. Go to Property Sheet and make sure "Repeat Section" is set to "Yes"
Done!
f7f2a75d-c4e6-4bea-b802-71838984e543|0|.0
Question and solution here: https://superuser.com/questions/402070/run-task-scheduler-task-on-demand-from-limited-user-account-in-windows-7
Go to C:\Windows\System32\Tasks find the related task and assign "read and execute" rights to the user you want to be able to access it. Be sure to assign to "current object only." Then the task will be visible and runnable from the limited user, and it will work if you saved your credentials in it and checked "run whether user is logged on or not."
c0036b81-b4e3-4b09-9064-30ee1aeb2d95|0|.0
a) Commented out the line where the phantom breakpoint appears
b) Copied the same line to the next line.
c) Saved the file.
d) Reran.
1c60aa75-6fed-427b-8743-6c232091a77b|0|.0
From here: https://support.microsoft.com/en-gb/help/2957623/cannot-access-shared-files-or-folders-on-a-drive-in-windows-server-201
Symptoms
You may experience one of the following issues:
- You can see the shared files but cannot open them.
- When you open a shared file, the loading progress bar is displayed as zero percent.
- When you open a shared file or a folder, Windows explorer freezes.
- If you try to restart the Server service, the service freezes in the stopping state.
- Microsoft Office Access databases (.mdb files) that are hosted on Windows Server 2012 shares may be corrupted.
- A "file is locked by another user" or "is locked for editing" error occurs in Microsoft Excel.
- SMB2 dialect negotiation receives only a TCP ACK response.
To work around these issues, follow these steps:
- Disable the leasing on the file server. To do this, run the following command:
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters /v DisableLeasing /t REG_DWORD /d 1 /f
Note After you set this registry key, SMB2 leases are no longer granted, but oplocks are still available. This setting is primarily used for troubleshooting.
- Restart the file server, or restart the server service. To restart the service, run the following commands:
NET STOP SERVER
NET START SERVER
1b87f1f0-b249-4ddd-a5c6-2f88344ee0d3|0|.0
- Dim cn As New ADODB.Connection
- Dim rs As ADODB.Recordset
- Dim strSQL As String
-
- strSQL = "Select * from Employees ORDER BY [LastName],[FirstName];"
-
- Set rs = New ADODB.Recordset
-
- With rs
- .Source = strSQL
- .ActiveConnection = CurrentProject.Connection
- .CursorType = adOpenDynamic
- .LockType = adLockOptimistic
- .Open
-
- Do While Not .EOF
- Debug.Print UCase$(![LastName]) & ", " & ![FirstName]
- .MoveNext
- Loop
- End With
-
- rs.Close
- Set rs = Nothing
7766ab07-0efa-41f4-9d42-989d9a561521|0|.0
You SHOULD replace the Nz
with an IIf(IsNull())
construct as it's prone to Errors for NOT reason.
See documentation for IIf
and IsNull
When put together:Nz(expr, [valueifnull])
becomesIIf(IsNull(expr), valueifnull, valueifnotnull)
Examples
Default: Nz(tbl.A) => IIf(IsNull(tbl.A), '', tbl.A)
With fallback: Nz(tbl.A, tbl.B) => IIf(IsNull(tbl.A), tbl.B, tbl.A)
c1ed0559-3fb1-4ade-a31a-c93253954efe|0|.0
These are som items that need to be considered/done when upgrading from MS Access backend to SQL Server backend.
1. Replace # with single quote (') for Dates in SQL.
2. Add Timestamp to all SQL tables.
3. Add dbSeeChanges to all DAO CurrentDB.Execute SQL statements. dbFailOnError should become dbSeeChanges + dbFailOnError
4. Convert all MulitValue fields to flat fields. This usually like multi-select combo baoxes that have to be converted to Listboxes.
5. Convert all Attachment Fields to VarBinary subTables!
09309ea4-a998-48a5-8be1-a4a5588ff70a|0|.0