|
-
Aug 1st, 2000, 08:22 AM
#1
Thread Starter
Addicted Member
Data Environment - HELP!
Howdy!
Is it possible to create a Data Environment through code and then connect a data report to it? If so, How?
Because,I have a Data environment with a report connected to it.
But, I need to change the SQL statement in the Data environment during run-time! - That is my goal!
Thanx
[Edited by hyme on 08-01-2000 at 09:31 AM]
-
Aug 1st, 2000, 09:14 AM
#2
Thread Starter
Addicted Member
I can change the Data Environment like this:
DE.Commands("cmFormu").CommandText = "Select * from Client ORDER BY Index"
But, how to you update the text fields on a Data Report
attached to it?
I get the error
"datafield "cmFormu.Client.Index not found"
-
Aug 1st, 2000, 09:18 AM
#3
Addicted Member
I'm not completely sure what you are trying to do but... you could take a look at a microsoft article "HOWTO: Dynamically Populate a Data Report in Visual Basic" at http://support.microsoft.com/support.../Q240/0/19.ASP
-
Aug 1st, 2000, 09:23 AM
#4
Thread Starter
Addicted Member
Thanx a million
It's exactly what I was looking for!
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
|