home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Report
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- Caption = "Report"
- ClientHeight = 5475
- ClientLeft = 1245
- ClientTop = 1605
- ClientWidth = 6300
- ControlBox = 0 'False
- Height = 5880
- Left = 1185
- LinkMode = 1 'Source
- LinkTopic = "Form4"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 5475
- ScaleWidth = 6300
- Top = 1260
- Width = 6420
- Begin SSPanel Panel3D1
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- BevelOuter = 0 'None
- BevelWidth = 3
- Font3D = 2 'Raised w/heavy shading
- ForeColor = &H00000000&
- Height = 1155
- Left = 2505
- TabIndex = 0
- Top = 5730
- Width = 4335
- Begin SSCommand Command3D1
- Caption = "Finished - Exit"
- Font3D = 3 'Inset w/light shading
- ForeColor = &H00000000&
- Height = 855
- Left = 2250
- Picture = REPORT.FRX:0000
- TabIndex = 2
- Top = 165
- Width = 1875
- End
- Begin SSCommand Command3D3
- Caption = "Return to Main Form"
- Font3D = 3 'Inset w/light shading
- ForeColor = &H00000000&
- Height = 855
- Left = 255
- Picture = REPORT.FRX:0302
- TabIndex = 1
- Top = 165
- Width = 1875
- End
- End
- Begin SSPanel Panel3D2
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- BevelOuter = 0 'None
- BevelWidth = 3
- Caption = "Report/Analysis"
- Font3D = 2 'Raised w/heavy shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000000&
- Height = 510
- Left = 3045
- TabIndex = 3
- Top = 75
- Width = 3375
- End
- Sub Command3D1_Click ()
- End Sub
- Sub Command3D3_Click ()
- form1.Show
- report.Hide
- End Sub
- Sub Form_Load ()
- report.WindowState = 2
- End Sub
- Sub Form_Paint ()
- report.Cls
- report.CurrentY = 1000
- report.FontSize = 13.5
- If form1.Option3D5.Value = -1 Then
- title$ = "Mr. "
- Else title$ = "Ms. "
- End If
- report.Print "Name: "; title$ + form1.BEdit1.Text
- report.Print "Marital Status: "; status$
- report.Print "Policy Number: 00283-A"
- report.Print "Date of Birth: " + form1.BEdit5.Text + "/" + form1.BEdit2.Text + "/" + form1.BEdit3.Text
- report.Print "Occupation: "; form1.HEdit2.Text
- report.Print "State of Birth: "; form1.Combo1.Text
- report.Print "State of Residence: "; form1.Combo2.Text
- report.Print "Type of Policy: "; form1.Combo3.Text
- report.Print "Amount to Insure: "; "$" + form1.BEdit7.Text + "," + form1.BEdit8.Text
- End Sub
-