PDA

Click to See Complete Forum and Search --> : How do i use a listview to load multiple Tables?


Spawny
Jun 26th, 1999, 05:31 PM
Hi,
I am trying to figure out how i would load 4 diff tables into a listview. There is a labeel menu where you would select which table you want to see in the listview. The one i have in the listview now is going to be the default one but i have no odea on how to code it so i can swap from one table to the next. These tables have the exact same data fields and will act under Active, Prospective, Intermediate and Non-Active. If anyone knows the code, could you please post it here. Thanks in advance.

Mike

bashfirst
Jun 27th, 1999, 08:04 PM
I'm not sure what you are asking. If you have data in the listview and then wish to clear that data and repopulate with the contents of a different table, wouldn't you just clear the listitems and then re-add the new data?

Bash

Spawny
Jun 28th, 1999, 04:49 AM
Yeah That is what i want to do but i am not sure how to code it? I can refresh the listview no problem but getting it to decifer between tables has lost me. I can get one to do it but how would i do it for 4 tables to be swapped around? Thanx Bash