| | |
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
Views: 322 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 2007 access activex append application basic birth bmp box c++ calculator cells.find client code college column connection copy creat ctrl+f data database datareport date delete desktop dissertations dissertationthesis dissertationtopic error excel excelmacro file filename filter form game group hardware header iamthwee ide image inboxinvb internetfiledownload keypress label list listview liveperson login looping machine mail match microsoft movingranges objectinsert open oracle password picture pos prime printer program prompt random range range-objects readfile record refresh remotesqlserverdatabase report save search spectateswamp sql sql2008 sqlserver struct table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





