borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Ru Time error:3001)Next Topic (Is it possible to creat a user id and password to access database?) New Topic New Poll Post Reply
AndreaVB Forum : Database : Generating data report with text used from textbox
Poster Message
vivone25
Level: Trainee

Registered: 26-05-2010
Posts: 2

Ads by Lake Quincy Media
icon Generating data report with text used from textbox

i am trying to generate a report by using a text in the textbox which gives me a value that i use in the WHERE clause of the query.

in order to generate a report based on the query i found this syntax

Set DataReport1.DataSource = stdrs
DataReport1.Sections("Section1") .Controls (1) .DataField = stdrs.Fields(0) .Name


Can any one explain what each of these object properties relate to?

In my datareport i have a label in the Details section where i need to print a column named Lot from my Access database.So how should i use this syntax for it?

i have given the image of he code too.

Ads by Lake Quincy Media
26-05-2010 at 01:39 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Database : Generating data report with text used from textbox
Previous Topic (Ru Time error:3001)Next Topic (Is it possible to creat a user id and password to access database?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder