45. VBA - Application Part 1 (Programming In Access 2013)

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 38

  • @hhbadarin
    @hhbadarin 3 місяці тому

    Watching this series in 2024, thank you so much Steve!

  • @bondniko
    @bondniko 3 роки тому

    Steve, thank you indeed for that meticulous work. If I had the opportunity to watch this back in 2000, I would have achieved so much more by now. Quite unexpectedly, I have to build some local applications in Excel with Access as the back-end. Your series come quite handy.

  • @chiranjeevibeeraka991
    @chiranjeevibeeraka991 3 роки тому

    Excellent videos ! It's really helpful for developers . Thank you !

  • @nikolajacques5982
    @nikolajacques5982 6 років тому

    There does seem to be one useful distinction from 'CurrentDB.Containers("*").Documents' in that 'Application.CodeData.AllTables' will really only display table objects, it seems, and not odd queries as encountered when using 'CurrentDB.Containers("*").Documents'.

  • @timfrank4598
    @timfrank4598 7 років тому

    Steve, thx for all the great videos. I’ve learned a lot.

  • @melvynshepherd1910
    @melvynshepherd1910 3 роки тому

    In Video 45 you show us how to add the reference Database1, but what about removing a reference, such as Database1?

  • @DuApril
    @DuApril 4 роки тому

    Thank you for the video Steve! I am opening the database1 with 1 form however it doesn't load automatically with the message box. Do you know why? Thank you!

  • @meranjamal5583
    @meranjamal5583 8 років тому

    Thanks Steve

  • @accsofter7802
    @accsofter7802 8 років тому

    Thank you very much dear Steve...
    Dear...
    How to connect to other database and display that tables in listbox in current Database ?

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  8 років тому +1

      I cover this in the advanced series.

    • @accsofter7802
      @accsofter7802 8 років тому +1

      I don't need to open other database ..
      I just want to connect it and display tables in the Listbox

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  8 років тому +2

      To connect to another database you have to open a connection to it. That's what the OpenDatabase function does.

  • @greencoder7419
    @greencoder7419 6 років тому

    When did you add modules to the database. I think I missed that.

  • @howardammerman5961
    @howardammerman5961 9 років тому

    Steve, Hi again. quick queston: Is Export XML and Import XML the best way to move a table from one db to another?

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  9 років тому +1

      No I recommend you use the import tool to get tables from another database.

    • @howardammerman5961
      @howardammerman5961 9 років тому +1

      Thanks. Had tried using that, failed several times, due to the unclear (to me) help file. Finally did get it, using the import method, with the correct syntax. Found that "optional" arguments/qualifiers were needed, and not optional. Anyway, another lesson learned.

  • @lrai4778
    @lrai4778 9 років тому

    Hi, Steve. I have a quick question: why there is always a stop in the first line of the subroutine? What is the function of stop? Thanks in advance.

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  9 років тому +1

      +Yujie Zhou Putting Stop in your VBA code is a way to set a break point by coding it. You wouldn't want to put them in any production code.

    • @lrai4778
      @lrai4778 9 років тому +1

      I see. Thank you very much for all the efforts to make such great videos!

  • @charliechromo984
    @charliechromo984 9 років тому

    Did you change video recording program here? Your previous videos filled up the screen and had better resolution.

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  9 років тому +1

      Charlie Chromo I changed monitors which changed the screen dimensions. Don't worry though, I do go back to a widescreen shortly. Also, make sure you have the video resolution set to 720 on the youtube settings. It won't fix the size but it does make sure the image is sharp enough to see.

    • @charliechromo984
      @charliechromo984 9 років тому +2

      Thank you. Great video series! Very clear explanations.

  • @timfrank4598
    @timfrank4598 7 років тому

    One question. In video 45, you have stop statements after each private sub function. What is the purpose of these stops?

    • @danieljuanfelipeborn7911
      @danieljuanfelipeborn7911 6 років тому +1

      So he can manually jump to each line of code so you can follow the process step by step

  • @sukhjinder101
    @sukhjinder101 7 років тому

    Hey steve please tell me why you used 'stop' after every subroutine
    private sub x()
    stop ?

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  7 років тому +1

      Just so I could pause the code at each point. You don't want the stops in your own code.

  • @coaching_engineer
    @coaching_engineer 9 років тому

    Steve, I'm trying to follow along with you when you are doing the OpenCurrentDatabase button, but for some reason it is not opening. I have the paths correct and the reference is linked but it won't open. However, I can open it manually.

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  9 років тому +1

      Jaz Isom Make sure you are creating a new access object in your VBA and then running the OpenCurrentDatabase method from that object as I demonstrate in the video.

    • @coaching_engineer
      @coaching_engineer 9 років тому +1

      Programming I am doing everything that you are doing in the video up to this point, but Database1 will not open.

    • @coaching_engineer
      @coaching_engineer 9 років тому +1

      Jaz Isom Steve, once again I had to search google to figure what you did. I noticed you had the form in Database1 start when the database was opened. I do not remember you going over this at all. In order to open the database without having the form activate upon startup, I used app.Visible = True, and that worked, but it didn't do exactly what you did in the video. Why didn't you mention this before? It throws me off, I'm pretty sure if someone wants to follow along and copy everything you do, it'll throw them off as well.

    • @ProgrammingMadeEZ
      @ProgrammingMadeEZ  9 років тому +1

      Jaz Isom I'm still very confused on what it is you're saying isn't there. I wouldn't know where to begin.

    • @coaching_engineer
      @coaching_engineer 9 років тому +1

      Thanks, but I figured it out. Turns out that the form opens when you have it set to open the form when the database opens. If you don't have that set, then you have to do a .visible = true command.

  • @niazpavel1206
    @niazpavel1206 6 років тому

    After watching 44 videos, I am still not sure how to build the simplest application. How to compile the code into an EXE and which form the application loads as the first Form. How to tie that form into a database. Just found some of those information in the microsoft page. I thought to run the first application someone needs to know the options or autoexec macro early

    • @matsudakodo
      @matsudakodo 5 років тому

      Check the Northwind AutoExec macro

  • @vilakshangupta3200
    @vilakshangupta3200 Рік тому +1

    SUIIIIII