Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 03Explorer
  • Content: Threads
  • Order by date
  1. 03Explorer

    Refreshing a linked table (housed on MS SQL Server) now breaks

    We had a former developer who built most of the forms in our MS Access database. When we first built the database in Access office 365 we did refreshing of tables from our dev version before publishing to production. All was great back then, before the revamping of the managing of linked...
  2. 03Explorer

    Run StoredProc from Access to populate local holding table pt 2

    I found code that describes what I want to do... Execute a SPROC (MS SQL Server) and directly populates a local MS Access Table. I am just uncertain in their code what the actual SPROC name is. I am not a member of that forum and rely on this site for my primary resource. Thanks, Site: Link
  3. 03Explorer

    HR Recursive List using CTE but includes 'self' as level 0

    I am using a single table UniqueID LastName FirstName ManagerID Title ======== ======== ========= ========= ===== 1 Smith Frank VP_Sales [highlight #FCE94F]2 Moore Bethany 1...
  4. 03Explorer

    Fill array by looping data to find last person

    I have an ADP data dump that shows all associates in a company. With each associate there are two data points I am focusing on, their UniqueID (or AutoID ADP gives) and a ManagerID, which is the UniqueID of the associate that manages the associate in the row. If I am a high level manager, my...
  5. 03Explorer

    sproc While Exist loop through recordset

    I am versed on how to use Recordset in VBA (MS Access) and am attempting to mimic that code in SQL Server in a Sproc. I am somewhat new to sproc programming and was hoping to use the following code to use the row data of currently filtered values so I can use that data for filtering an inner...
  6. 03Explorer

    DAO Recordset giving Read-only Error '3027'

    I am trying to update current record being processed in a loop based on a SQL statement. But I am getting the error "3027: Cannot update. Database or object is read-only." Set rsGenerateMe = CurrentDb.OpenRecordset(SQL, dbOpenDynaset, dbFailOnError + dbSeeChanges) If Not...
  7. 03Explorer

    Looping field names on form with variable used in the fieldname

    I have a task to take a form that uses many similar field names but the difference is the 2nd character (pertaining to sections on form). Field names on form frmSomeName. S1ClientID S1PracticeID S1ProjectName S1ChildRoleID S1ServiceTypeRadio S1Parent1ID S1Parent1RoleID S1Parent2ID...
  8. 03Explorer

    Combo box design question

    I was looking at thread (Thread) And an image Oxicottin posted 10 Feb 16 17:01 (Example) I want to create a Multi-Select using the check boxes approach and the main box displays the values captured, but behind the scenes I want to capture the PrimaryKey for each item to be stored for table...
  9. 03Explorer

    Execute SQL causes IDENTITY issue with one statement but not other

    I have code that updates a table with two different but similar fields to be updated. Neither updates deal directly with an IDENTITY column. However ONE of them uses the IDENTITY column in the WHERE statement. The 2nd code works like expected... the first crashes saying "You must use the...
  10. 03Explorer

    make a field within a query to increment values for purpose of output only

    I have a query returning any number of rows. For the sake of the user, I want a field that is just a counter (incremental field) to be displayed. Example below: No. UserName --- -------- 1 Black, Bob 2 Cash, John 3 Doe, Jane 4 Caruba, Crystal...
  11. 03Explorer

    Using 2 numeric variables in a string variable for nested loops

    Have a working loop that uses a variable name that is using the loop value (i) within the string name for populating. I am working on a nested second loop that sits within the first loop and need that loop value (r) to do data checking on specific values. The (i) loop is working wonderfully...
  12. 03Explorer

    Visible changes upon save for forms (not sure if VBA)

    Using: Access 365 - Version 1902 (Build 11328.20392) We are experiencing a new issue which I believe happened since the last MS Access update that now all our forms (formerly tested and validated) were working as expected with particular fields hidden (visible=FALSE) are now fields are visible...
  13. 03Explorer

    Immediate window stops updating on continuous run

    I have lengthy code that I have DEBUG.PRINT scattered within so I can watch the code process. I am currently getting the Immediate window will be populated with a few rows (not always the same rows) but no more populating to the immediate window. After a random time period, the Immediate...
  14. 03Explorer

    Nested Loops each based on SQL Server Linked table queries (SLOW and INCONSISTENT for run time)

    Simple explanation of my project. I have nested loops that each are based on a linked table query (source = SQL Server tables). Loop1 start | Loop2 start | | Loop3 start | | | Loop4 start | | | Loop4 end | | | Loop5 start | | | Loop5 end | | Loop3 end | | Loop6 start | |...
  15. 03Explorer

    Defining global multidimensional array

    I want to have an array that has 5 deep with x values (so it would be V=0-4 and X = open ended) Here is what I have currently Public GlobalArray() As Variant Function ObtainOldWorldData() Dim OldRoles As Variant Dim vItem As Variant OldRoles = Array("cboCRM", "cboPM1", "cboPM2", "cboLC1"...
  16. 03Explorer

    Run StoredProc from Access to populate local holding table

    Working with Stored Procedures is new for me. I have a Sproc: (snippet of code we are using) CREATE PROCEDURE [dbo].[Test_SProc_SurveysScoresandComments] @Associate nvarchar(9), @PeriodBegin date, @PeriodEnd date AS /* DECLARE @Associate nvarchar(9) DECLARE @PeriodBegin date...
  17. 03Explorer

    Trying to build FORM from what can be done in Report

    I am sharing a screen capture of a report that needs to be made into a form. The issue is this needs to be a form for additional button controls and for continuous scrolling down. The data is dynamic for the number of rows and the orange boxes also grow based on values (to the left of bar)...
  18. 03Explorer

    dynamically define sub reports within a form

    I have been trying many methods to go from: me!rpt1.Report.RecordSource = SQL me!rpt2.Report.RecordSource = SQL me!rpt3.Report.RecordSource = SQL me!rpt4.Report.RecordSource = SQL to something like this For N = 1 to 4 me!rpt[N].Report.RecordSource = SQL Next N but it's not working and I am...
  19. 03Explorer

    Sort By Clicking on Column Heading - 2

    thread705-439774 I see this thread is closed but there was a directive to go to a URL. the URL no longer exists (http://www22.brinkster.com). Does anyone have something that was close to what MP9 was sharing? Thanks
  20. 03Explorer

    VBA Recordset SQL returns up to 4 columns (how to identify if column 4 exists)

    I have a query that is a pivot table output. The column names are populated out of values found in source table [Code tblAssociatePerformance] aID AssociateID Year Rating --- ----------- ---- ------ 1 as34afeet 2017 Exceeds7 2 dafsjkl34...

Part and Inventory Search

Back
Top