If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > setting up variables in Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-06, 13:34
TBBunn TBBunn is offline
Registered User
 
Join Date: Oct 2004
Posts: 8
setting up variables in Access

I am having trouble setting up variables.

I have set up the following to set focus on a field in a subform - but I also need to set variables to make it work.

Forms!frm_PotentialCallEntries!sub_CallActivity_Po tential.SetFocus

Forms!frm_PotentialCallEntries!Forms!sub_CallActiv ity_Potential.Form!CALL_DETAIL.SetFocus

Does anyone have any advice? Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-12-06, 13:38
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Hi

You don't need to set a variable to do this. To refer to a subform control:
Event Procedure for subform

If this doesn't do it please could you explain the big picture of what you are trying to do

HTH
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On