Recent content by crillux

  1. C

    How to create different input options?

    I need some help with handling options in a form for searching and I can't figure out how to do it. Depending on which option the user selects I want to enable (or disable) different textboxes in the form where the user can put criteria for searching the database. How to accomplish this? By...
  2. C

    How to update path to linked tables?

    @DCrake Thanks a million! The code with your comments is great. Suddenly I understand a lot more. On other question... Is there a simple way to get a file browsing dialog where the user can select a path/folder, and then put this in a variable?
  3. C

    How to update path to linked tables?

    I think I found a process to handle it, but I would appreciate some coding assistance. This is what I have in mind: 1) As I put <FE path>/data as default path for the BE in the Installation Wizard, I will start by checking wheter the BE part is there or not. This I guess I could do with...
  4. C

    How to update path to linked tables?

    Thanks, will do. Do you have any info at all in response to my questions above to get me started?
  5. C

    How to update path to linked tables?

    I guess I could, but I would still like to be able to handle it using code for future apps. I am especially interested in if I could set a relative path since that would make life easier. Is there a way to extract the path for the FE part? If so, I could make the install package put the BE...
  6. C

    How to update path to linked tables?

    Finally my first little project is ready to go live, but I am stuck in the handling of linked tables as I have split the database. My problem is that the links to the table in the FE part points to the location where I did the development. And this means that the links doesn't work when I...
  7. C

    Setting report query parameters from VBA

    The discussion is interesting for a newbie like me. Where can the alternatives be found?
  8. C

    Question Distributing and maintaing the app

    I am finally seeing the end of my first "real" Access project and it's time to distribute it. I have split the database, and I will use the Access Developer kit to create an install package. I guess both the back end and the front end files must be selected? How do I handle future changes? I...
  9. C

    How to implement good error handling?

    As I am trying to learn more VBA I been reading a couple of web page to get the idea of how to trap and handle errors. However, I have a couple of things that I don't get and I guess there are a lot of experience in the forum that might help me... Reading tips would also be appreciated. My...
  10. C

    How to define a general function

    So does this mean that I should just choose "Module" in the "Create" menu and have my general functions in that module?
  11. C

    How to define a general function

    So far I have coded VBA for specific events only in Access and now I wonder how I can write a function that can be called from anywhere in my application. Where do I put the code?
  12. C

    Query using two related tables

    My bad. There are dates in tblOrders. Sorry. Yes, you are correct. Thanks a million for the solution!
  13. C

    How to check for existing record?

    I follow up with another one then... Once we have determined wheter the product exist in the booking list, we need to decide wheter we can book it on the date we need it. I have used DLookup to get the date into a variable: wantedOutDate = DLookup("[OutDate]", "tblTest", "[OrderNo] = '" &...
  14. C

    Query using two related tables

    I have three tables in my database that I use for renting out products. The products in "tblProducts", the orders in "tblOrders" and a junction table "tblBookinglist" that saves ProductNo (from tblProducts), OrderNo (from tblOrders), and OutDate and Indate. To be able to produce a list of...
  15. C

    How to check for existing record?

    Thanks again. And a follow-up: I realize it would be a good idea to assign the field values to variables and then use the variables as criteria in DCount. Do I need to handle the variables differently as well in the DCount function depending on datatype?
Back
Top Bottom