Subject Re: [IBO] Query.RefreshRows (please ignore my previous question)
Author Robert Martin
Hi Jason

I don't have InvalidateRow but I do have InvalidateRows. Does
InvalidateRows update the currently selected record or should I do
something like
DisplayQuery.InvalidateRowNum(DisplayQuery.RecNo);

The above seems to work well.

Cheers
Rob


On 2/08/2014 12:51 a.m., 'IBO Support List' supportlist@...
[IBObjects] wrote:
> Rob,
>
> If you are invalidating just specific rows, you can also call InvalidateRow,
> InvalidateRowNum() and InvalidateBookmark() and just the individual row will
> be refreshed as needed.
>
> Jason
>
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
> Sent: Wednesday, July 30, 2014 11:08 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Query.RefreshRows (please ignore my previous question)
>
> Hi
>
> I will answer my own question :)
>
> I found a bug with the way my filtering class was building the query.
> It wasn't correctly putting the right join in until the Query was
> refreshed. So my app now marks records straight away !
>
> Cheers
> Rob
>
>
>
>
>
>
> On 31/07/2014 10:03 a.m., Robert Martin rob@... [IBObjects] wrote:
>> Hi
>>
>> I have a display query attached to a read only transactions that
>> displays records. I have an update query that updates a 'selected'
>> field (i.e. it puts an 'X' on this display. To avoid refreshing the
>> show display every time a user selects a record I call .RefreshRows.
>> This doesn't seem to work until I have refreshed display query. Once
>> the display query has been refreshed the system works perfectly, I can
>> go and tick / untick fields to my harts content.
>>
>> Any ideas why its not working 'out of the box'? Is there a better way
>> of doing this?
>>
>>
>>
>> Thanks
>> Rob
>>
>>
>>
>> ------------------------------------
>> Posted by: Robert Martin <rob@...>
>> ------------------------------------
>>
>>
> ___________________________________________________________________________
>> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
>> without the need for BDE, ODBC or any other layer.
>>
> ___________________________________________________________________________
>> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
>> keyword-searchable FAQ, community code contributions and more !
>> http://tracker.ibobjects.com - your portal to submit and monitor bug
> reports
>> http://community.ibobjects.com - your portal to purchase and upgrade
>> ------------------------------------
>>
>> Yahoo Groups Links
>>
>>
>>
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2014.0.4716 / Virus Database: 3986/7951 - Release Date: 07/30/14
>>
>>
>
>
> ------------------------------------
> Posted by: Robert Martin <rob@...>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
> ------------------------------------
> Posted by: "IBO Support List" <supportlist@...>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4716 / Virus Database: 3986/7974 - Release Date: 08/03/14
>
>