Hye there
I have to create a Report which get Get Data from Forms controls.Please help with any simple example.
thx
zebnoon
-6
Junior Poster
Recommended Answers
Jump to PostThis an example :
Modified as u needed.Set rsTest = New ADODB.Recordset With rsTest.Fields .Append "Field1", adBSTR .Append "Field2", adBSTR .Append "Field3", adBSTR End With rsTest.Open With rsTest .AddNew .Fields("Field1") = "Test1" .Fields("Field2") = "Test2" .Fields("Field3") = "Test3" .Update End With Set DataReport1.DataSource = rsTest With …
Jump to PostBut i dont want to use any database.
Did u read this code correctly?
This code didn't use any database.
Are you trying this code?My problem is to transfer data of Listview and textboxs (list on any form of VB6 Application ) directly to Database.
I already give you …
Jump to Postplease dont mind ..I am in trouble . i am new in this field please dont pay tension on my minute questions.
I read it buti think there is rsTest which related to database. Can u sent me total Button code. Which transfer data of List view to Data report?…
Jump to PostGood. I Really appreciate when you make some effort.
You made mistake when put "next i". You just need to update the recordset.
You don't have to update data field of datareport. When you assign DataReport source with Recordset it will accommodate all data of listview on recordset.
So, it …
All 13 Replies
zebnoon
-6
Junior Poster
zebnoon
-6
Junior Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
dnk
commented:
Great Code
+2
ITKnight
commented:
I even never think about this way..it's awesome dude.
+2
zebnoon
-6
Junior Poster
Jx_Man
commented:
You even not trying this code.
-3
Jx_Man
987
Nearly a Senior Poster
Featured Poster
november_pooh
commented:
He the lazy one..don't get mad for him.
+3
zebnoon
-6
Junior Poster
zebnoon
-6
Junior Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
zebnoon
-6
Junior Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
zebnoon
-6
Junior Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
kelvinmunyui814
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.