troubleshooting Question

program implementation question

Avatar of rutledgj
rutledgj asked on
Visual Basic Classic
5 Comments1 Solution161 ViewsLast Modified:
I have a windows app hitting a sql server database. The app allows for inviting customers to events (Golf,Racing,etc). I need to add up to 10 activities for the spouses to attend. In the database I have added columns Act1,Act2,etc. In a form I have a listview that allows for adding and deleting activities.

The problem: Let's say I add 8 activities. I decide later to delete the first 4 and add 3 more. What code would allow me to determine where to insert the new activities.

After deleting the first 4 that left data in fields Act5,Act6,Act7,Act8. I need code (vb6) that will help me determine where to insert the next activity. Ideally I could move the existing activities up as one above it is deleted. That way they would show up in the proper order in the  listview.

Hope this makes sense.
ASKER CERTIFIED SOLUTION
Alon Hirsch
Software Development Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros