Results 1 to 2 of 2
  1. #1
    RLehrbass is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Posts
    102

    error 2448; I'm having problem displaying data from one form on another using a txt box

    I'm simply trying to display the data from an open form named frmEventInput fields: [EventName] and [Description]
    on a new form that includes 2 text boxes with the control sources and names: [txtEventName] and [txtDescription]
    It says Error 2448, You can't assign a value to this object! what am I doing this wrong?

    Private Sub Form_Load()
    Dim LResponse As Integer

    LResponse = MsgBox("Do you wish to open 'Event Participant Registration Form'?", vbYesNo, "Continue")

    If LResponse = vbYes Then
    DoCmd.GoToRecord , , acNewRec

    Me!EntryDate = Date
    Me!txtEventName = Forms![frmEventInput]![EventName]
    Me!txtDescription = Forms![frmEventInput]![Description]
    Me!EventID = Forms![frmEventInput]![ID]

    Else
    DoCmd.Close



    End If

    End Sub

  2. #2
    RLehrbass is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Posts
    102
    Just had to remove control source.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-19-2012, 10:54 AM
  2. Replies: 0
    Last Post: 05-16-2012, 01:48 PM
  3. Error 2448
    By gtrudel in forum Programming
    Replies: 9
    Last Post: 07-11-2011, 07:30 PM
  4. Replies: 3
    Last Post: 04-15-2010, 09:43 AM
  5. runtime error 2448
    By ds_8805 in forum Forms
    Replies: 3
    Last Post: 04-14-2010, 07:32 PM

Tags for this Thread

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