Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Queries

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-13-2010, 09:27 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 03-13-2010, 03:45 PM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

What is an actualization query?
__________________
Paul
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #3  
Old 03-15-2010, 01:38 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 03-15-2010, 08:10 AM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

The query will "refresh" when you run it. If you were viewing it through a form, you could requery it as needed.
__________________
Paul
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #5  
Old 05-05-2010, 05:08 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #6  
Old 05-05-2010, 08:08 AM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

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
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #7  
Old 05-05-2010, 08:44 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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?
Reply With Quote
  #8  
Old 05-08-2010, 04:38 PM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #9  
Old 05-10-2010, 12:15 PM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

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
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #10  
Old 05-11-2010, 12:28 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #11  
Old 05-11-2010, 07:44 AM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

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
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #12  
Old 05-11-2010, 03:44 PM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #13  
Old 05-11-2010, 04:47 PM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

Try a criteria in the query of:

Forms!FormName.ComboName

Changing the form and combo names to their actual names.
__________________
Paul
MS Access MVP
www.BaldyWeb.com
Reply With Quote
  #14  
Old 05-12-2010, 08:59 AM
slbenfica slbenfica is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 10
slbenfica is on a distinguished road
Default

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
Reply With Quote
  #15  
Old 05-12-2010, 09:40 AM
pbaldy's Avatar
pbaldy pbaldy is online now Windows XP Access 2007 (version 12.0)
Who is John Galt?
 
Join Date: Feb 2010
Location: Nevada, USA
Posts: 1,223
pbaldy is on a distinguished road
Default

If you have inadvisable spaces in your names, you'll need to bracket them:

[Form Name]
__________________
Paul
MS Access MVP
www.BaldyWeb.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.