Increment id number issue

dimsums

New Member
Joined
Jun 29, 2020
Messages
31
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am using VBA in access to work with a form, which contains a button that increments a ID number from a table. The code i am using works in some computers and doesnt work in others.
Is this a common issue? I tried looking for every possible difference but it is the same sheet just different PCs.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Welcome to the Board!

Check to make sure that these other computers have VBA enabled (common Microsoft security setting).
Also, you may want to check to see which version of Access they are using compared to the computers that are working.
Lastly, in the VB Editor, you may want to check the Libraries/References. First check it on a computer that works, then check it on one that doesn't, and confirm that they have all necessary references selected.
 
Upvote 0
Hi
Thank you for your reply.
I just checked the version, VBA enabling and all the references being used. Its all the same in all the computers.
So still not sure why this is happening.
 
Upvote 0
Could you post the code?
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,585
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top