venu_resoju
Registered User.
- Local time
- Today, 08:21
- Joined
- Dec 29, 2010
- Messages
- 130
Hai Friends,
I have a report named "EPFChallan" and also I have created a option group on a form named "Records" and given a code like below
Private Sub Frame86_AfterUpdate()
Select Case Frame86.Value
Case 1
Reports!EPFChallan!txtmonth1 = Forms!records!cbomonth
Reports!EPFChallan!txtYear1 = Forms!records!cbomonth
Case 2
Reports!EPFChallan!txtmonth1 = Mtxtmonth
Reports!EPFChallan!txtYear = Mtxtyear
Reports!EPFChallan!totalsubscribers = txtemplys
Reports!EPFChallan!TotalWages = txtwages
End Select
End Sub
but I am getting a Run-Time error '2451' which stated that "The report name "EPFChallan" you entered is misspelled or refers to a report that isn't open or doesn't exist"
the report name is spelled correct but why is it happening like this? what's wrong with me ?
Please any body tell me.....thanks in advance.
I have a report named "EPFChallan" and also I have created a option group on a form named "Records" and given a code like below
Private Sub Frame86_AfterUpdate()
Select Case Frame86.Value
Case 1
Reports!EPFChallan!txtmonth1 = Forms!records!cbomonth
Reports!EPFChallan!txtYear1 = Forms!records!cbomonth
Case 2
Reports!EPFChallan!txtmonth1 = Mtxtmonth
Reports!EPFChallan!txtYear = Mtxtyear
Reports!EPFChallan!totalsubscribers = txtemplys
Reports!EPFChallan!TotalWages = txtwages
End Select
End Sub
but I am getting a Run-Time error '2451' which stated that "The report name "EPFChallan" you entered is misspelled or refers to a report that isn't open or doesn't exist"
the report name is spelled correct but why is it happening like this? what's wrong with me ?
Please any body tell me.....thanks in advance.