Results 1 to 4 of 4
  1. #1
    bladelock9 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Location
    NY
    Posts
    10

    Access 2003 forms

    Hi all,



    I have two forms: frmLogon which has the system(txtDate) and the User(cboUser) and frmMain. I'm trying to use txtDate and cboUser that user input and place them on the frmMain. When the User clicks the command button on the frmLogon, this form becomes invisible and the frmMain appears. However, when I try to store the cboUser and txtDate, Access states that it can't find the macro expression or Visual basic code.

    Is there a way I can make these items Public? I need to know where users is storing info. HELP?

    Thank you

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Do you have any MISSING references? How are you trying to access these values?

  3. #3
    bladelock9 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Location
    NY
    Posts
    10
    all reference are there, I just want to make these variables public so the other form can use them.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are these values on controls on the LogIn form or in variables. As controls they are already accessable through the Forms collection.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. code changes from access 2003 to access 2007
    By daversb in forum Programming
    Replies: 1
    Last Post: 11-30-2010, 05:32 PM
  2. Convert access 2003 to access 2010
    By Vera in forum Access
    Replies: 3
    Last Post: 07-16-2010, 11:01 AM
  3. Replies: 2
    Last Post: 05-19-2010, 02:01 PM
  4. Replies: 6
    Last Post: 12-01-2009, 11:59 AM
  5. Replies: 1
    Last Post: 09-06-2006, 11:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums