|
-
July 16th, 2001, 03:02 PM
#1
DataEnvironment
I am using the DataEnvironment with the DataGrid control. The DataGrid is in one form (say form1) and I am doing the selection from another form (say form2). The first time when I do a selection I see the correct data on the datagrid. But if I change the selection criteria, I still see the old data on the DataGrid. I tried refreshing, requiring but its giving me errors all the time. Does any body know how to make the data change when I do a selection?
-
July 16th, 2001, 06:57 PM
#2
Re: DataEnvironment
What kind of errors are you getting?
John G
-
July 17th, 2001, 10:47 AM
#3
Re: DataEnvironment
deReports.rscmdDateReport_Grouping.Requery
frmPreviewDate.DataGrid1.Refresh
Set frmPreviewDate.DataGrid1.DataSource = deReports
deReports.rscmdDateReport_Grouping.Close
With the above code code I get the error on the first line which is
Run-time error '-2147217904
No value given for one or more required parameters.
---------------------------------------
deReports.rscmdDateReport_Grouping.Requery
deReports.cmdDateReport_Grouping cmbDepartment, dtStartDate, dtEndDate
with the above code, I get the following error
3704 - Operation is not allowed when the object is closed.
-
March 25th, 2003, 01:18 PM
#4
same problem with my project
ps. tell me how to refresh all the databse....
the problem with my project is exactly same , however to see desirable results i need to just re-run the project so the parent-child relationships i have made are reset.
if you have a solution to reset the the dataenvironment during the run-time then the problem will be solved hopefully...
ps. reply soon its really urgent.....
cyboidsunny
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
|