changing a field in another table

miss_sunshine

Registered User.
Local time
Today, 06:25
Joined
Dec 13, 2004
Messages
17
I want a macro to change the value of a field in another table - its a combo box stating "available" and "unavailable". I would like to change these values automatically, based on what I enter in another form.

I have tried using SetValue, but it does not seem to work without error.
 
Use an UPDATE Query; not a macro.
 
SJ McAbney said:
Use an UPDATE Query; not a macro.

I have tried this too, but for some reason it seems to create a new record in the table, instead of changing a specific one. Any ideas why this is happening? Cheers
 
you should explain how did you try to work it out with the Update Query, maybe someone can help with that rather than trying to find a 'work around' with macros.
 
miss_sunshine said:
I have tried this too, but for some reason it seems to create a new record in the table, instead of changing a specific one. Any ideas why this is happening? Cheers

Are you sure you didn't create an APPEND query?
 

Users who are viewing this thread

Back
Top Bottom