|
-
Jun 8th, 2007, 05:44 AM
#1
Thread Starter
Lively Member
data Report error..
Hi friends,
i am using vb6 with ms-access2003..
and by dataenvironemtn and datareport ,
after i send the value to datareport ,
it says "DataFidle.Command1.pname[my field name) not found "
this error i got received ,
my code is :
Dim rsmodel As ADODB.Recordset
Set rsmodel = New ADODB.Recordset
Set rsmodel.ActiveConnection = gConnection
Call SetRs(rsmodel, gConnection, "select * from Register")
If rsmodel.RecordCount > 0 Then
Set DataReport1.DataSource = rsmodel
Else
End If
DataReport1.Show
Set rsmodel = Nothing
.................
then in the dataenviornment i added comand where i conect my table then i pass the field from there to datareport..
but i receiv ethe same error..
Please help me..
waiting for your valuable reply,..
With regards,
Mk..
-
Jun 8th, 2007, 06:20 AM
#2
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
|