Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C7 list box - How do I refresh it?

Status
Not open for further replies.

emaduddeen

Programmer
Mar 22, 2007
184
US
Hi Everyone,

What code do I use to refresh a C7 list box?

Thanks.

Truly,
Emad
 
The same code as a C6 list box, or a CDDW 1.5 list box for that matter.

What are you trying to do?


 
Hi Mark,

I created 2 list boxes and related both useing "File Relationship" from the child list box to the parent list box.

If I navigate in the parent list box past a point that makes the list box scroll, the child list box refreshes. From that point I try and navigate backwards in the parent list box and the child list box again does not refresh every time I navigate in the parent list box.

Is this a C7 bug?

Thanks.

Emad
 
I tried this in the New Selection embed of the parent list box, but the child list box still is not refreshed.

Code:
Clear (DawahNotes)

NOT:CustNumber = BRO:CustNumber

Set (NOT:KeyCustNumber, NOT:KeyCustNumber)

Next (DawahNotes)

listVisits.ResetFromBuffer()

Truly,

Emad
 
Hi Emad,

Answered in C7 NG. But in case you see this first, replace code with listVisits.ResetSort(True) assuming the second listbox is Range Limited on the Parent Columns(s).

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top