Index
2011-12-03 15:24 – Jerry Foote : UPDATE DISPLAY IN COMBO BOX
2011-12-03 15:38 – Tracy Pearson : Re: UPDATE DISPLAY IN COMBO BOX
2011-12-03 16:01 – Fred Taylor : Re: UPDATE DISPLAY IN COMBO BOX
2011-12-03 16:30 – Jerry Foote : RE: UPDATE DISPLAY IN COMBO BOX
Back to top
UPDATE DISPLAY IN COMBO BOX

Author: Jerry Foote

Posted: 2011-12-03 15:24:30   Link

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

---

_______________________________________________

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/C7B1655331DE4D68BBF052FE265ADC5F@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
Back to top
Re: UPDATE DISPLAY IN COMBO BOX

Author: Tracy Pearson

Posted: 2011-12-03 15:38:17   Link

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

>

Requery method.

--

Tracy Pearson

PowerChurch Software

Sent from my Android phone with K-9 Mail.

_______________________________________________

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/41f9a962-0961-441c-b988-4daee563a13d@email.android.com

** 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 Tracy Pearson
Back to top
Re: UPDATE DISPLAY IN COMBO BOX

Author: Fred Taylor

Posted: 2011-12-03 16:01:40   Link

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/CAJCBksq92UoneZAmeOFjixBGk_N1YkjysPuaCbbOB47EUwvdbg@mail.gmail.com

** 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 Fred Taylor
Back to top
RE: UPDATE DISPLAY IN COMBO BOX

Author: Jerry Foote

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

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