How to generate a key and add it to status bar panel?
Posted on 2002-05-17
I have a status bar with 8 panels.
Because a user can change profile this is loaded several times.
Now wherever it loads it finds an error.
Key not unique in collection.
Now since at the stage that this happen I cannot add a key
that is something I can retrieve from the database like a primary key.
I thought of adding a count to it but doesnt work
dim count as integer
dim panel as panel
set panel=stbmdipanels.panels.add(,"Bookings" & Count,"Bookings)
count=count + 1
but this doesnt work because whenever it loads again it fails.