| | |
showing record on the report
![]() |
•
•
Join Date: Dec 2008
Posts: 5
Reputation:
Solved Threads: 0
i want fields department,job_centre,cost centre should come
first before detail section can anybody tell me how should
i code for that. i have written a code it is working fine but
i am making iso certified report and req. is to place fields just
above the detail section kindly let me know urgent.
first before detail section can anybody tell me how should
i code for that. i have written a code it is working fine but
i am making iso certified report and req. is to place fields just
above the detail section kindly let me know urgent.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Private Sub Command4_Click() Dim mr As Integer mr = InputBox("enter a mr no") Set rs = New adodb.Recordset rs.Open "select * from MR where req_no = " & CStr(mr), con, adOpenDynamic, adLockOptimistic If Not rs.EOF Then With DataReport2.Sections("section1").Controls .Item("text1").DataField = rs.Fields("productname").Name .Item("text2").DataField = rs.Fields("qty").Name .Item("text3").DataField = rs.Fields("unit").Name End With Set DataReport2.DataSource = rs DataReport2.Orientation = rptOrientLandscape DataReport2.Show End If End Sub
Last edited by Ancient Dragon; Jan 5th, 2009 at 3:22 pm. Reason: add code tags
![]() |
Similar Threads
- Problem in showing output of Data report. (Visual Basic 4 / 5 / 6)
- Data Report Problem (Visual Basic 4 / 5 / 6)
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- Struct and binary files... (C)
- report builder (ColdFusion)
- Almost Got It, I think (C++)
- conversion of text file into data base file (Visual Basic 4 / 5 / 6)
- URGENT: JSP - StackOverFlow Error (JSP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Printing through Print Server
- Next Thread: help
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





