PC Review


Reply
Thread Tools Rate Thread

Access 2003 SetValue on Subform

 
 
hspgapsemc
Guest
Posts: n/a
 
      28th Oct 2009
The macro below works on a database developed in an earlier version of
Access. I have copied this macro into another database developed in Access
2003 using the same fields and tables, but now it does not work.

2 Form Fields: College Code and College

Form Property: After Update

Action: SetValue

Item: [Forms]![Inquiry: Express]![COLLEGE HISTORY - Inquiry:
Express]![CODE]

Expression: DLookUp("[COLLEGE CODE]","COLLEGE DATABASE CODE COMBO BOX
QUERY","[COLLEGE NAME] = Forms![Inquiry: Express]![COLLEGE HISTORY -
Inquiry: Express]![COLLEGES ATTENDED]")

Are there changes in Access 2003 that cause this macro to error?

My objective is to type the name of a college in the college field. There
is a combo box based on the query named in the macro. Once you tab out of
the college field the code number should automatically fill. The form is set
up that the college code field appears and is tabbed before the college field.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SetValue - Access 2003 John S Microsoft Access Macros 4 4th Oct 2008 11:07 PM
Access 2003 SetValue [x].[Visible] Question =?Utf-8?B?U3RldmUgTWFkZGlzb24=?= Microsoft Access Macros 2 31st Jan 2007 07:43 PM
Access 2003 Setvalue question - please help! Playbus Microsoft Access Macros 1 1st Aug 2006 02:51 PM
setvalue and subform =?Utf-8?B?U3RlcGhXaGl0bGV5?= Microsoft Access Forms 10 4th Aug 2005 07:41 PM
SetValue SubForm =?Utf-8?B?UGF1bA==?= Microsoft Access Macros 1 25th Apr 2004 09:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:42 PM.