Welcome! Log In Create A New Profile

Advanced

ListDisplay error with taReExecuteQuery

Posted by Joel 
Joel
ListDisplay error with taReExecuteQuery
February 23, 2009 12:48AM
Hi -

I tried this piece of code, - ListDisplay(Lst_MarketingTypes, taReExecuteQuery) - which the help files say is correct, but I get an error that I can't use taReExecuteQuery with ListDisplay. If this is really so, (the help files are wrong) and how do I udate a Listbox after adding an item with HAdd?

Thanks

J
Jaime Fernandez
Re: ListDisplay error with taReExecuteQuery
February 23, 2009 06:51PM
ListDisplay(Lst_MarketingTypes)
Regards
DerekT
Re: ListDisplay error with taReExecuteQuery
February 24, 2009 11:37AM
Joel
Your code seems OK - always works fro me.

A bit more info.......
How are you populating the listbox?
What have you done that requires a refresh of the content?
When do you get the error?

Regards

DerekT
Joel
Re: ListDisplay error with taReExecuteQuery
March 31, 2009 05:43PM
Hi Derek -

I thought I had this solved, but still having a problem. your questions:

populating with an embedded query
gone to dialog window and added a new item

I don't get an actual error,, this listbox just doesn't update to show the new information

J
DerekT
Re: ListDisplay error with taReExecuteQuery
March 31, 2009 07:23PM
Joel

I do not use embedded queries but if I had used a standard query my code would be as yours....

ListDisplay(Lst_MarketingTypes,taReExecuteQuery)

Could be this does not work with embedded queries.
Can only suggest you test using a standard query.

Regards

DerekT



Edited 1 time(s). Last edit at 03/31/2009 07:49PM by DerekT.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: