i'd like to pass the value get from crsytal report designer to main form. Below is my code:
Code in module
Code in DesignerVB Code:
Option Explicit Public i As Integer
Code in main formVB Code:
Option Explicit Private Sub Section4_Format(ByVal pFormattingInfo As Object) i = Field7.Value End Sub
I get 0 value, which should be 4 (records).VB Code:
Private Sub Form_Load() Load form2 'crystal report form MsgBox i unload form2 End sub
Anyone has idea what's wrong with my code?
Thanks!




Reply With Quote