|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can anyone plz guide me, I am retrieving data through dataenvironemnt in visual basic, the problem is when I view the said report first time it gives me correct results, afterwards every time it appears with the same first time given results, unless I quit my application. I am using Parent and child command to get data and there are 2 parameters (1). date and (2) is ID... Plz Help.
|
|
#2
|
||||
|
||||
|
hey even i was getting the same problem but when i used the following code i was able to get the desired effect. so just try this..
rs.Open "select * from temp3", cn, adOpenKeyset, adLockPessimistic, adCmdText Set DataReport1.DataSource = rs DataReport1.Show vbModal Quote:
|
|
#3
|
|||
|
|||
|
Quote:
well after using this code it worked fine for the first time but from 2nd time onwards i keep getting the error "operation not allowed when object is open" if i add rs.close to the code i keep getting "operation not allowed when object is closed" even at the fist attempt |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Problem in Data Reports through dataenvironment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|