|
-
Mar 27th, 2006, 08:08 AM
#1
Thread Starter
Hyperactive Member
VB DataReport
I have a wierd question, I have some reports that are generated based on input written in textboxes on a form....NOT from a database anywhere. Also, I need to run this on a windows 95 computer, that cannot run ADO. Is there a way to get the DataReport to display the data, without having to connect to a database? The way I have done this in the past, is to connect to a test MySQL database, that only has 1 record (for time...). After I connect to that test MySQL database, I can simply fill in the labels on the form with the following:
VB Code:
Me.Sections("Section1").Controls.Item("lblPartNumber").Caption = frmTyco32.txtPartNumber.Text & ""
Me.Sections("Section1").Controls.Item("lblPartRevision").Caption = frmTyco32.txtPartRevision.Text & ""
Me.Sections("Section1").Controls.Item("lblQuantity").Caption = frmTyco32.txtQuantity.Text & ""
Me.Sections("Section1").Controls.Item("lblLabelNumber").Caption = frmTyco32.intLabelCount & ""
I read to get ADO working on a windows 95 system, you had to install a DCOM patch...I've installed this DCOM patch, received no errors while installing...but when I run a report (that I know works on other systems), it gives me an error dealing with the ADO connections.
Code:
If LostAngel.Tag = "Programming" then
LostAngel.Caption = "Awake"
Else
LostAngel.Caption = "Dreaming of Code"
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|