Page 1 of 3

GridAdo

Posted: Thu Aug 14, 2008 3:19 pm
by luisvasquezcl
Dear Roberto,
I am preparing a grid to work with Ado process and need to know where the keys of movement because it requires synchronizing the grid with the recordset.
At this point already loading data and sample correctly but I want to burn can also browse the records automatically.
Greetings
Luis Vasquez.

Re: GridAdo

Posted: Thu Aug 14, 2008 3:49 pm
by Roberto Lopez
luisvasquezcl wrote:Dear Roberto,
I am preparing a grid to work with Ado process and need to know where the keys of movement because it requires synchronizing the grid with the recordset.
At this point already loading data and sample correctly but I want to burn can also browse the records automatically.
Greetings
Luis Vasquez.
I'm afraid that I'm not sure about understand your question...

Could you be so kind to clearify it a liitle?

TIA.

Regards,

Roberto.

Re: GridAdo

Posted: Thu Aug 14, 2008 4:15 pm
by luisvasquezcl
I need to create procedures for processing the keys Up Dn Home End, this recordset I synchronize with the grid.
Look at h_grid but not encounter these procedures, can control where that?.
Regards

Re: GridAdo

Posted: Thu Aug 14, 2008 4:59 pm
by Roberto Lopez
luisvasquezcl wrote:I need to create procedures for processing the keys Up Dn Home End, this recordset I synchronize with the grid.
Look at h_grid but not encounter these procedures, can control where that?.
Regards
Ok. Key events for grid are not implemented, but you could take a look at 'events' function (h_windows.prg). Movement keys are processed for browse (browse is based in Listviwe like grid). That could be useful for you.

Regards,

Roberto.

Re: GridAdo

Posted: Thu Aug 14, 2008 5:04 pm
by luisvasquezcl
Ok Roberto,
Thanks

Re: GridAdo

Posted: Thu Aug 14, 2008 9:02 pm
by luisvasquezcl
Dear Roberto,
I finished the grid.
I would like to see what Viera, give me your comments and criticisms and of course I do not know if much serious prentender inclusion in the library because I believe it will be very helpful to our colleagues.
Best regards,
Luis Vasquez.

Re: GridAdo

Posted: Thu Aug 14, 2008 10:07 pm
by Roberto Lopez
luisvasquezcl wrote:Dear Roberto,
I finished the grid.
I would like to see what Viera, give me your comments and criticisms and of course I do not know if much serious prentender inclusion in the library because I believe it will be very helpful to our colleagues.
Best regards,
Luis Vasquez.
Please, upload to the forum so, all could view it and give you our impressions.

Regards,

Roberto.

Re: GridAdo

Posted: Fri Aug 15, 2008 3:17 am
by luisvasquezcl
Hi Friends
I have a little problem but now is fixed. 8).
The file is attached.
I wait for your comments.
Regards
Luis Vasquez.

Re: GridAdo

Posted: Fri Aug 15, 2008 6:38 pm
by Roberto Lopez
luisvasquezcl wrote:Hi Friends
I have a little problem but now is fixed. 8).
The file is attached.
I wait for your comments.
Regards
Luis Vasquez.
When you attempt to enter an invalid date, and you follow to the next field with <ENTER> the following error occurs:

Error BASE/1118 Argument error: DTOC</p><BR>
Called from DTOC(0)
Called from _SETITEM(1565)
Called from _HMG_SETGRIDCELLVALUE(1100)
Called from _HMG_GRIDINPLACEEDITOK(876)
Called from (b)_HMG_GRIDINPLACEEDIT(610)
Called from _DOCONTROLEVENTPROCEDURE(4381)
Called from EVENTS(467)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4046)

Regards,

Roberto.

Re: GridAdo

Posted: Fri Aug 15, 2008 10:32 pm
by luisvasquezcl
Ok Roberto,
Im going to make more test and fixed problems.
Regards.