favc4
Posts: 30
|
| Posted: 06/12/2006, 4:10 AM |
|
As I have read, tell me if wrong, to get to the underlying ADODB.Recordset I should do Grid.DataSource.Recordset.Recordset? gives an error, if I do
Grid.DataSource.Recordset.Fileds("lala").Value gives an error also... how to retreive the current record from the underliying ado recordset?
Thanks again
cHUCk
_________________
Programming win32 and went crazy... |
 |
 |
WKempees
|
| Posted: 06/12/2006, 4:31 AM |
|
http://docs.codecharge.com/studio3/html/Components/RTPr...ordset.html?toc
Would imply:
Grid.Recordset.Field
"favc4" <favc4@forum.codecharge> schreef in bericht
news:6448d4badb319a@news.codecharge.com...
> As I have read, tell me if wrong, to get to the underlying ADODB.Recordset
> I
> should do Grid.DataSource.Recordset.Recordset? gives an error, if I do
> Grid.DataSource.Recordset.Fileds("lala").Value gives an error also... how
> to
> retreive the current record from the underliying ado recordset?
>
> Thanks again
>
> cHUCk
> _________________
> Programming win32 and went crazy...
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
cHUCk
|
| Posted: 06/12/2006, 5:01 PM |
|
That *does not* work, please note
Tipo de error:
Error de Microsoft VBScript en tiempo de ejecución (0x800A01A8)
Se requiere un objeto: 'gdLeadInfo.DataSource.Recordset.Fields(...)'
/MMAP/tlmkC_events.asp, línea 43
'Object is Required'
|
|
|
 |
WKempees
|
| Posted: 06/13/2006, 3:08 AM |
|
Sorry favc
I'm not an ASP native.
Did you follow the link to the Documentation?
In your test of the text I send you
Quote :
Grid.Recordset.Field
You replaced Grid by the nae of your grid.
You should replace Field with a <member> also, like RecordCount in the
example.
|
|
|
 |
Benjamin Krajmalnik
|
| Posted: 06/13/2006, 11:28 AM |
|
I use this in my code without problemns:
EventCaller.value = tblServiceOrders.Recordset.Fields("TotalHours") +
tblServiceOrders.Recordset.Fields("TotalMinutes")/60
So, the proper syntax is Grid.Recordset.Fields("YourFieldName")
Make sure that the field you are looking for is the select clause.
|
|
|
 |
|