Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How to refresh a drop down listbox?
Hello,
I have a problem. I have a default record update form that contains a
customer drop down listbox. Beside that i have a button to create a new
customers. When i add a new customer, it will not show in drop down lisbox.
How do i refresh the drop down listbox right that moment when i have added a
new customer. It will be there when i close the window and open it again.
But how to do the refreshing?.

Thanks, JayMan

Report this thread to moderator Post Follow-up to this message
Old Post
JayMan
03-27-04 04:00 AM


Re: How to refresh a drop down listbox?
Find out your list box's object name. Right click, select Properties,
Actions tab, Classes tab, Object Name. It might be something like FDLB_8.
Then use FDLB_8.ResetQueue(True).

I think if you just use ThisWindow.Reset(True) it should also force a
refresh of the queue. Theoretically takes a little longer but probably not
so you'd notice.

"JayMan" <jayman@jippii.fi> wrote in message
news:a29a19ea.0402241220.60ed10e@posting.google.com...
> Hello,
> I have a problem. I have a default record update form that contains a
> customer drop down listbox. Beside that i have a button to create a new
> customers. When i add a new customer, it will not show in drop down
lisbox.
> How do i refresh the drop down listbox right that moment when i have added
a
> new customer. It will be there when i close the window and open it again.
> But how to do the refreshing?.
>
> Thanks, JayMan



Report this thread to moderator Post Follow-up to this message
Old Post
Phil Lancaster
03-27-04 04:00 AM


Re: How to refresh a drop down listbox?
"Phil Lancaster" <phil_lancaster@hotmail.com> wrote in message news:<4lP_b.74825$Wa.48841@n
ews-server.bigpond.net.au>...
> Find out your list box's object name. Right click, select Properties,
> Actions tab, Classes tab, Object Name. It might be something like FDLB_8.
> Then use FDLB_8.ResetQueue(True).
>
> I think if you just use ThisWindow.Reset(True) it should also force a
> refresh of the queue. Theoretically takes a little longer but probably not
> so you'd notice.
>
> "JayMan" <jayman@jippii.fi> wrote in message
> news:a29a19ea.0402241220.60ed10e@posting.google.com... 
>  lisbox. 
>  a 

Thank you Phil very much, first hint seems to do the job i needed

Report this thread to moderator Post Follow-up to this message
Old Post
JayMan
03-27-04 04:00 AM


Re: How to refresh a drop down listbox?
Glad to help. Are you aware there is a much bigger ng comp.lang.clarion at
news.softvelocity.com?

"JayMan" <jayman@jippii.fi> wrote in message
news:a29a19ea.0402250331.2d0c95ba@posting.google.com...
> "Phil Lancaster" <phil_lancaster@hotmail.com> wrote in message
news:<4lP_b.74825$Wa.48841@news-server.bigpond.net.au>... 
FDLB_8. 
not 
new 
added 
again. 
>
> Thank you Phil very much, first hint seems to do the job i needed



Report this thread to moderator Post Follow-up to this message
Old Post
Phil Lancaster
03-27-04 04:00 AM


Re: How to refresh a drop down listbox?
How does one become a member of said NG?  I got Auth errors when I tried.
I have C6PE.

thanks,

Bob Roos

On Wed, 25 Feb 2004 19:52:32 GMT, Phil Lancaster
<phil_lancaster@hotmail.com> wrote:

> Glad to help. Are you aware there is a much bigger ng comp.lang.clarion
> at
> news.softvelocity.com?
>
> "JayMan" <jayman@jippii.fi> wrote in message


Report this thread to moderator Post Follow-up to this message
Old Post
spuds
03-27-04 04:01 AM


Re: How to refresh a drop down listbox?
I use the Outlook Newsreader, so this may not be applicable to you, but hope
it helps anyway.

At the initial Outlook Newsreader screen, select Set up a Newsgroups
account. Enter the information requested then for News Server, enter
news.softvelocity,com. This will create your account.

Then select the new account and click on Newsgroups. Subscribe to
comp.lang.clarion and any others you may be interested in.

Sorry about delay in replying. I'm in Australia so our time zones may be
different. It's Saturday evening here.

"spuds" <spudsnews@wybatap.com> wrote in message
news:opr32f3ypx7tu0pk@news.wybatap.com...
> How does one become a member of said NG?  I got Auth errors when I tried.
> I have C6PE.
>
> thanks,
>
> Bob Roos
>
> On Wed, 25 Feb 2004 19:52:32 GMT, Phil Lancaster
> <phil_lancaster@hotmail.com> wrote:
> 
>



Report this thread to moderator Post Follow-up to this message
Old Post
Phil Lancaster
03-27-04 04:01 AM


Re: How to refresh a drop down listbox?
Hi Phil,

the times are Way different (about 14 hours).  I had it all set up, but I
was getting Authentication errors.

Thanks for confirming that no extra authorization was required.  I
re-examined the setting and found that I had checked an authorization
box.  When unchecked all ran OK.  Thanks again.  (Soyes it did help even
though I am not running Outlook)

Bob

On Sat, 28 Feb 2004 07:58:54 GMT, Phil Lancaster
<phil_lancaster@hotmail.com> wrote:

> I use the Outlook Newsreader, so this may not be applicable to you, but
> hope
> it helps anyway.
>
> At the initial Outlook Newsreader screen, select Set up a Newsgroups
> account. Enter the information requested then for News Server, enter
> news.softvelocity,com. This will create your account.
>
> Then select the new account and click on Newsgroups. Subscribe to
> comp.lang.clarion and any others you may be interested in.
>
> Sorry about delay in replying. I'm in Australia so our time zones may be
> different. It's Saturday evening here.
>
> "spuds" <spudsnews@wybatap.com> wrote in message
> news:opr32f3ypx7tu0pk@news.wybatap.com... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
spuds
03-27-04 04:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:24 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.