Search results

  1. M

    Open Specific Form Based on ID that May Be in One or More Tables

    Hi everyone, I'm having a problem needing to pull out a record that may be in one of many, unrelated tables. I'm have a union query set up that lists all of the IDs in all of the tables and have DoCmd.OpenForm code that will check to see if the ID is in the table then open the form that...
  2. M

    Navigation Form Subforms

    Hi, I'm unadvisedly added a navigation form to my database for aesthetic reasons, which has caused me a lot of headache. Anyways, my navigation form contains five subforms. Each of the subforms are based off of the same table. I would like to be able to add data to each of the forms for the...
  3. M

    Filter Records that Show up in Navigation Control

    Hi guys, I was not very smart and added a navigation control to my form instead of a tab control. However, I'm trying not to switch over. My goal is to use a combobox to select an ID that will then cause the form and navigation controls to pop up with the correct ID's data. I have the query...
  4. M

    Issue with Copying Forms

    Hi, I am trying to copy a form (3 time) with in the same database and am having issues with a button that closes the current form and opens the "switchboard" form. When I make changes the button on any of the copied forms they all update with the changes I made to the rest of the forms. For...
  5. M

    Run-Time Error '91' and SQL Update

    Hi, Happy New Year!! I am trying to loop through newly imported tables from excel and add the excel file name to a column in the new table. However, I'm getting an "Run-time Error '91': Object variable or With block variable not set" at the line "strrename= strsql1 & tdf.Name & strsql2 &...
  6. M

    Make code more efficient: Dlookup

    Hi Everyone, I have written code to look up a value in a table that then enables or disables a subform in my main form. The code works, but I know it is now as efficient as it can be. The main problem is that I have multiple values that determine if the subform should be enabled or disabled. I...
  7. M

    Saving Excel Workbook Name when Importing

    Hi, I'm importing multiple Excel workbooks and need to save the workbook name somewhere in the Excel spreadsheet before importing or saving the workbook name in the Access table after importing. I'm using one of Ken's import codes: Option Compare Database Public Function Impt_Sero() Dim...
  8. M

    VBA code to run queries on specific tables

    Hi, First, sorry if this is posted in the wrong thread! I couldn't decide where it actually goes. Anyways, I am pretty new to VBA coding and need some help with running queries on specific tables. This is part of a multistep process, of importing data that needs to be transposed before...
  9. M

    Import and Move File Code

    Hi Everyone, I am trying to import individual Excel spreadsheets into Access and then keep these spreadsheets as individual tables when importing them. I have found code at accessmvp to do so; however, I need to also move the worksheet to an "imported" file and remove the imported worksheet...
  10. M

    Extracting Data From PDF Form

    Hi, I am trying to extract information from a fillable PDF form that my company has created. Rightfully so, they have completely locked down all options, so I am not able to convert the file in Adobe Reader to a text file. I've seen options to extract information using VBA code with Adobe...
  11. M

    Viewing 2nd Column in ComboBox

    Hi all, First off, I apologize for asking the what I assume to be one millionth variation of this question. I am very perplexed right now, as to what I am doing wrong! Previously, I have typed in =[var_name].[column](1) into an unbound textbox which will then show the second column of the...
  12. M

    Mouse Scroll and Tab Controls

    Hi, I have a form with four pages and subforms on each page. I am having issues with scrolling on pages 2-4. The first page will scroll correctly (to the bottom of the form), but the other pages will not scroll at all. I did enable the scroll bars on the subforms, but they will only scroll to...
  13. M

    Teaching Others to Use Access

    Hi, I have been developing a database for my group, which they will be using mainly for data entry. Most of them have never used Access before and are nervous about switching over from Excel. I'm nervous about the behavioral shift that needs to happen and how to guide people through this...
  14. M

    Queries and Afterupdate on Forms

    Hi, I have a form based off a query that pulls information when inputting an ID. For example, user clicks the form, then a pop-up box (from the query) occurs, then after adding ID, the form with populated data appears. However, I would like to change some control properties on the form...
  15. M

    Disabling Fields from a Different Form/Table

    Hi, I am trying to disable a field in a form based on a value in a field on a different table/form. I have been able, through simple VBA code, to disable fields based on a value in the same form. Is there VBA code to do this? If so, could you please give me an example? Or are queries/sub forms...
Back
Top Bottom