fix error in using new mshflexgrid vb6

isnoend2001
isnoend2001 used Ask the Experts™
on
When adding a new yearly reminder getting an error here
In Public Sub StoreNotifications
errorhow can this be fixed ?
For-EE.zip
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
this file creates a new flexgrid.dat
this error occured with the new grid adding the first record
For-EE_2.zip
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
That error involves the code for my version of notifying the user when a task is upcoming, and as I said in the other thread I don't think that we should take the route,

Author

Commented:
Don't know what you mean
How can it be fixed ?
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
The code that you posted is from this thread which i think you should close and not use. I suggest you go back to the code from this older thread and use it as a basis for going forward.

Author

Commented:
i don't understand I am trying to continue with the latest code you posted doing it your way.
With the 3 cbo's
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
Ok, I'll begin to fix some of the bugs you reported in that thread. And the problem in this thread is that the dat file I recently created for you does not have the column needed so that notification data can be saved.  If that doesn't make sense don't worry about it: I'll fix that also. I'll do both tomorrow.

Author

Commented:
ok, good
The 2nd zip i posted has the code to create the dat file if not present

Author

Commented:
I was in error the 2nd zip did not have the code to create the .dat file
this one does you probably don't need it but just in case, here it is
i can see it need to create 9 columns instead of 8, so it needs modifaction
you are probably past it though
For-EE_3.zip
Older than dirt
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
Yes I am. BTW the first row of data in the dat file used to represent the number of rows minus 1 and the number of columns minus one. I've changed that so that the numbers represent the actual number of rows and columns. I think that's easier to understand.

Author

Commented:
ok if you need anything don't hesitate. i will be here all day

Author

Commented:
Thanks, fixed me right up

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial