Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20

    Actualization query

    Hello,



    How can I make an actualization query? When I go to query it does not appear that option. I am using the acess 2003.

    Best regards

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    What is an actualization query?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    I have a table with some columns. I would like to have one column that does a subtraction of two of the columns in the table. I have red that we have to make a query to "refresh " due to the fact that this last column does not exist in the input of the first table. The problem is that i don't find the way to do it. I am using the access 2003.

    thanks

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    The query will "refresh" when you run it. If you were viewing it through a form, you could requery it as needed.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,

    Thanks for the help.
    I manage to solve the problem by clicking on the rightmouse button in the structural view of the form and transform the form to an actualization one.
    I have another question: I want to use the form to insert values in a table and i want to use list boxes but canīt find them to work. What is appearing in the table are the numbers and not the names that i have in the list box.
    What am i doing wrong?

    Thanks

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Probably nothing. It is common in database design to store a numerical key value in related tables. In other words, if I have a employee table with an employee number and employee name, it is the employee number that I would store in related tables. I'd get the name by joining the tables in a query on the employee number field.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,
    Thanks.
    I have another question: In the form, everytime I run it, i can change the value of the list box and the value on the table changes. I would like to each time i write a record, it saves in the table and i can't change it again. Can I use a button that does the "Update" in the table?

  8. #8
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,
    I manage to do a program that is working.
    How can I make it work outside Microsoft access, in another computer that may not be running access. Like an executable file.
    Thanks

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can't. There is a free runtime version of Access 2007 available from MS. Previous versions required the purchase of a developer edition/tools.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,
    Thanks.
    I have two more questions:
    - Is it possible to do an executable that is located somewhere in the computer but not having to open the access or I have to open the access each time I open the program?
    - I have a table connected to a form. In that form i input values that are added to the table. My problem is that i have lots of records in the table and in the form i have to go and look for the last record to add another one. How can i go directy for the last record?

    Thanks

  11. #11
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Again, no. An mdb or mde must run in Access. There's no way to make one into an executable that can run independently. I've seen methods of disguising that fact, but haven't used them myself.

    I'm not clear exactly what you're after. Look at GoToRecord in VBA help and see if it does what you want, and/or try the combo box wizard, choosing the third option: "Find a record...".
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  12. #12
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,
    Thanks.
    I solve the second question by erasing the rows on the table that are empty.
    I have another question: I have a query that searchs in a table one value so that i can do a report about all the information on that value. I have a form that is linked to that query. The name of the value is written in the query. I know how to put the query asking the name to search but what i really want is to have a combo box with the values that i may choose to search in the query. How can i link the combo box of the form with the query itself?
    Thanks

  13. #13
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Try a criteria in the query of:

    Forms!FormName.ComboName

    Changing the form and combo names to their actual names.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  14. #14
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,

    The program says i have a syntax problem. Do I have to use some kind of "" or [] or () in the expression Forms!FormName.ComboName ?
    It is because the name of the form and the name of the combo box have space between the words and it says i have a missing operator...
    Thanks

  15. #15
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you have inadvisable spaces in your names, you'll need to bracket them:

    [Form Name]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Page 1 of 3 123 LastLast
Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums