Reputation: 2014
I have to change all integer variables to long variables in an application that has a VB6 front end and a jet MDB file backend.
I am planning to do this by
A. In the program
And
B. In the database
Is this a feasible approach? Are there any gotchas?
Upvotes: 1
Views: 898
Reputation: 19367
B. In the table design you can change the data-types/ Number from Integer to Long Integer. You are increasing the size, so this shouldn't be a problem. Copy the tables firstly if you are concerned.
Step A is okay, but you can't change the event argument Cancel
. Well, you might be able to, but you shouldn't! It won't be necessary/relevant anyway. Don't change such arguments, or any other system (rather than custom) arguments without consideration.
Upvotes: 4