RE: UPDATE DISPLAY IN COMBO BOX

Author: Jerry Foote

Posted: 2011-12-03 at 16:30:25

Thanks Guys, I guess I missed the requery, I was setting the listindex to

the recount() of the cursor but was getting nothing, yet when I dropped down

the combo I saw my entry.

Thanks Jerry

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Fred Taylor

Sent: Saturday, December 03, 2011 3:02 PM

To: ProFox Email List

Subject: Re: UPDATE DISPLAY IN COMBO BOX

To actually show the last row entered in your Combo as the displayed value,

you need a Combo.Requery(), followed by a position your Combo.Rowsource

table to the correct poition and then setting your Combo.ListIndex =

RECNO() of your Combo.RowSource table.

Fred

On Sat, Dec 3, 2011 at 1:24 PM, Jerry Foote <jerryfoote@bellsouth.net>wrote:

> I am having a brain fart and cannot remember how to do this. Please help

>

> I have a combobox populated with a field in a cursor, when I add a new

> record to the cursor how do I set the combobox to display the last row

> entered in the combobox.

>

> Thanks Jerry

>

>

>

> --- StripMime Report -- processed MIME parts ---

> multipart/alternative

> text/plain (text body -- kept)

> text/html

> ---

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/A00B754FB6E046EC82AD0F8491E37E89@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Jerry Foote