473,396 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

need help with SQL Macro in MS Access

Having trouble with this assignment. My teachers say it should work but it
just doesn't. This part of a macro is designed to take payment from the cost
and show the balance owing. What am I doing wrong. The sql is shown below.
No error message is showing but the process still dosen't work.

UPDATE [wedding] INNER JOIN deal ON wedding.deal = deal.deal SET
wedding.balance = (deal!cost - [wedding]!paid)
Aug 27 '05 #1
1 1191
gethrog (ge*****@hotmail.com) writes:
Having trouble with this assignment. My teachers say it should work but
it just doesn't. This part of a macro is designed to take payment from
the cost and show the balance owing. What am I doing wrong. The sql is
shown below. No error message is showing but the process still dosen't
work.

UPDATE [wedding] INNER JOIN deal ON wedding.deal = deal.deal SET
wedding.balance = (deal!cost - [wedding]!paid)


You should try this in comp.databases.ms-access. The syntax you use is
Access specific, as are the ! notation.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Aug 27 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: alon | last post by:
hello, i have a problem , i am a new user at access , i am using access 2000 , when i am making macro with msgbox the access stucks, i have check the same file with the macro on other computer and...
1
by: alon | last post by:
i am using access 2000 .when i use macro and in the macro use msgbox the access stuck , the other software in the computer works great , and the same database with the same macro at other computer...
1
by: christian | last post by:
when I selected a text box or combo box in a form of my database. I get two messages: 1)A problem occurred while Microsoft Access was communicating with the OLE Server or ActiveX control. close...
4
by: dixie | last post by:
The Ctrl key is represented by a ^ in the autokeys macro. What is the Alt key symbol? dixie
0
by: Alex | last post by:
i have a module in Access which opens an existing Excel file and envokes a macro within the Excel file to draw graphs. now i am trying to convert the Excel macro to an Access one so that the...
2
by: geronimo_me | last post by:
Hi, I have the following code in an access module: Sub Run_Excel_Macro() Dim xls, xlWB As Object Dim strFile, strMacro As String
1
by: ckirby | last post by:
I've inherited an application for creating mail merges from an Access 2003 ADP that needs an overhaul. To generate the mail merge , the app uses a shell command: result = Shell(str, vbHide) ...
5
by: Bill | last post by:
This database has no forms. I am viewing an Access table in datasheet view. I'd like to execute a macro to execute a function (using "runcode"). In the function, I'll reading data from the record...
0
by: hartliec | last post by:
I would like to execute a Access 2002 Macro (TransferText) using ASP. Any ideas? This is what I have so far.. Page 1 *****accessmacro.asp************ <html><body> <% strDbName = 'Put...
2
by: davidratz | last post by:
I run Access 2000. We still have Access 97 resident on our server. We run all of this inside of a Citrix environment. I have a macro which runs a dozen or so queries and macros. At the end of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.