in a routine i have to fill a listbox with the contents of a text property of an object X.
i get this object from a method call to another object Y.
i have to re-get from Y in order to iterate through the count of X's in Y.
so far i have tried 2 methods of filling the listbox:
1.) looping through the obj's and building a semi-colon delimited string and passing it to the listbox as a rowsource with the rowSourcetype set to Table/Query and finally requerying the listbox. This errors when a value string contains a comma...Access sees it as an alternate delimiter (?) and splits the string into 2 separate rows.
Errrrrrrrrrrrrrrrrrr.
2.) in the loop i append to a temp table i created then query the table and assign it to the listbox which works well (data issues aside..lol). My concearn with this method is the overhead of creating the table and querying it deleting it everytime i need to use the routine.
Advice ? ? Help!
Tryp
i get this object from a method call to another object Y.
i have to re-get from Y in order to iterate through the count of X's in Y.
so far i have tried 2 methods of filling the listbox:
1.) looping through the obj's and building a semi-colon delimited string and passing it to the listbox as a rowsource with the rowSourcetype set to Table/Query and finally requerying the listbox. This errors when a value string contains a comma...Access sees it as an alternate delimiter (?) and splits the string into 2 separate rows.
Errrrrrrrrrrrrrrrrrr.
2.) in the loop i append to a temp table i created then query the table and assign it to the listbox which works well (data issues aside..lol). My concearn with this method is the overhead of creating the table and querying it deleting it everytime i need to use the routine.
Advice ? ? Help!
Tryp