473,769 Members | 8,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to pass SQL Query to DataReport at Runtime

20 New Member
Hello to all,

How to pass SQL Query to DataReport at Runtime...

Please, Any body help for this Question...


Regards,
Suresh...
Apr 21 '07 #1
3 1855
cmrhema
375 Contributor
Hello to all,

How to pass SQL Query to DataReport at Runtime...

Please, Any body help for this Question...


Regards,
Suresh...
I have posted a code at this forum
refer links in this forum
http://www.thescripts. com/forum/thread624745.ht ml

Try out and give the feedback
Apr 21 '07 #2
suresh_punniyakkodi
20 New Member
I have posted a code at this forum
refer links in this forum
http://www.thescripts. com/forum/thread624745.ht ml

Try out and give the feedback
Datareport produces error report, datafield error. So, please send me, how to set datafield properties of an datareport...
Please help...
Apr 23 '07 #3
cmrhema
375 Contributor
Datareport produces error report, datafield error. So, please send me, how to set datafield properties of an datareport...
Please help...
Kindly Put down your complete code
Apr 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
12607
by: ILCSP | last post by:
Hello, I'm fairly new to the concept of running action pass through queries (insert, update, etc.) from Access 2000. I have a SQL Server 2000 database and I'm using a Access 2K database as my front end. I'm using a blank pass through query which gets the Transact-SQL part inserted from a button in my form. After inserting the Transact-SQL code into the pass through query, I 'open the recordset' to make the query run. However,...
1
1490
Awit
by: Awit | last post by:
Hello, I'm new here... I have a problem, I used DataReport in my program.. The problem is runtime error occur when i run the system, i can't make some modification at the table in database while the report is open I make the modification at the table through my program. My Datareport also refer to that table. Can someone help me. Sorry, my english are worst.
6
5379
by: klove1209 | last post by:
Good afternoon, Can someone please tell me how I can return records from a query. I have text fields that I need to obtain, and have those necessary records sent to MS Word. I need to return the data that is in MainSectionLabel, MainLabel and SummaryTextBox. Here is what I have so far: Public Function gettbldata() Dim strSQL As String
5
3333
by: anoopgopal007 | last post by:
Hi, I am using vb6 and datareport. I am updating the tables whle the program running. But the datareport doesnot show the updated information. Its always shows the previous value. But when i restart the package i can see which i updated previously. Can I see updated information while i am running my package...? I want to update the datareport in running time... please help me ....
3
2508
by: anoopgopal007 | last post by:
Hi, I am using vb6 and msaccess as back end. i want to display some report using datareport. The report printing at first time only. After i updating my table i can't get the updated information in my report. Here i submit my code, If u can just give some instructions. In my code whic code i want to change ? what i want to change? cn.Execute "delete * from temp2" cn.Execute "delete * from temp3" Set rs = cn.Execute("select...
6
2179
by: pramodrepaka | last post by:
hi this is pramod i am facing a small problem Private Sub Command_Click() Dim a As String a = InputBox("enter empno") If rs.State = 1 Then rs.Close rs.Open "select * from microbiology Where bat_num = " & a, cn, adOpenForwardOnly, adLockReadOnly
0
1627
by: nishjee | last post by:
Hello friends, i need visual basic 6.0 code to export a datareport to html other than the defult option coming with datareport. I need this very urgently because when i am exporting the datareport to html using its export option, the column alignments of the report on html format is changing... thats why i am searching for method to do this through vbcode... Please any one help me.... Thanks in advance..
2
1312
by: vishwaskothari | last post by:
when i click on the print button present on the datareport there comes the runtime error. i have checked the printer it is properly installed and working with the other softwares(like MS Word) properly. wat can be the reason TIA regards vishwas
1
3330
by: MaryKJolly | last post by:
I got this sample project from a website. But there is some syntax error in the statement which contains the CDate function. I can't detect the error? Can enybody help me? SUMMARY This article demonstrates basing a DataReport on a parameterized DataEnvironment and refreshing the report when the parameter value changes. MORE INFORMATION 1. Open a new Standard EXE Project in Microsoft Visual Basic. Form1 is created by default. 2. Add a...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.