Find Jobs
Hire Freelancers

Access VBA code

$10-30 USD

In Progress
Posted about 10 years ago

$10-30 USD

Paid on delivery
I've got a vba code that looks like qCount = GetQueryCount3B Do Until qCount = 0 Forms("UpdateStatusForm").Controls("status3").Value = qCount & "Used Left" Forms("UpdateStatusForm").Repaint [login to view URL] "A0315-03B Add 0315All New into InventorySuppliers", acViewNormal, acEdit qCount = GetQueryCount3B DoEvents Loop and then below the count looks like Public Function GetQueryCount3B() As Long [login to view URL] = 0 Dim rst As [login to view URL] Dim sql As String sql = "SELECT COUNT(*) AS total FROM Boyd0315All WHERE (NOT (EAN + 'U1' IN " _ & "(SELECT LocalSKU FROM InventorySuppliers WHERE (SupplierID = 315))))" Set rst = [login to view URL](sql) With rst If Not .EOF Then GetQueryCount3B = .Fields(0).Value End If .Close End With Set rst = Nothing End Function The program goes to the botton section Set rst =.... and it freezes up.. I dont see a need to set the rst, I just want the program to do a count, and if the count is >0 the run the query. I also need it to be in a loop because the update only does 1000 items at a time. Should be a quick fix for someone who knows coding.
Project ID: 5424786

About the project

14 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average $22 USD for this job
User Avatar
Hello, I am interested to do this work as i am experienced a lot in ms access related work and sql queries. Looking forward to have a positive response from you. Thanks
$20 USD in 1 day
5.0 (152 reviews)
6.8
6.8
User Avatar
You can use dcount() function - I will need the table structure of tables called Boyd0315All and InventorySuppliers or better still send me the db - I will debug and send it back.
$25 USD in 1 day
4.9 (159 reviews)
6.8
6.8
User Avatar
It's an easy enough fix, it's always a good idea to release resources after use, that's why the Set rst = Nothing is there.
$30 USD in 0 day
4.9 (23 reviews)
5.5
5.5
User Avatar
I have 8 yrs of Exp in VBA,VB6.0,VB.net and MsAccess. I have developed many applications in VB6,VBA,VB.NET. Ready to start waiting for your feedback on same.
$35 USD in 1 day
5.0 (24 reviews)
5.1
5.1
User Avatar
Hi, I have more than 14 years of exp and I am expert in this kind of work. I have completed more than 200 projects. Please look at the feedback left by my employer to know more about my work. Waiting for your positive response. Thanks.
$30 USD in 1 day
4.4 (21 reviews)
4.7
4.7
User Avatar
Hello, I am ready to help you to complete this task. I have 10+ years experience with MS Access so can easely solve your problem. Looking forward to your reply. Regards, Alex.
$10 USD in 1 day
5.0 (2 reviews)
3.2
3.2
User Avatar
I am ready to work this VBA modifications Thank you
$20 USD in 1 day
5.0 (3 reviews)
3.0
3.0
User Avatar
Hi, I am very much interested in your project. I am in IT profession for more than seven Years. I have done a lot of projects in different languages and databases. Recently, i developed a bid Financial Application for my US Client. The application maintain all the Customers information, their loans, monthly installments and much more. It also used to generate the yearly statement of each customers. I am honest and hardworking person, always try to fulfill the requirements of my clients. I want to be a useful part of your team. I am very keen to discuss further. Thanks for your time to my application. Regards MNA
$30 USD in 1 day
5.0 (3 reviews)
2.6
2.6
User Avatar
Hy there. I think there must be some wrong with the query or the table has many data that when you try to count a subquery it make the query become heavy. Let me fix it for you.
$25 USD in 3 days
5.0 (2 reviews)
1.9
1.9
User Avatar
I am an expert in VBA, especially within Access and Excel. This is something I can easily do for you, and will have it done quickly. Just a FYI, the set rst = nothing is necessary. By doing that, you free up the memory that the recordset object creates. If you never release your objects, the memory on your application will continue to ramp up. I am pretty sure your issue is something, and I hope you give me the opportunity to find it and fix it for you. Thanks!
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
As well as 4 years technical experience with .Net , Ruby on Rails,and Java, I also have experience building a custom ORM for one of the long term clients. For a previous client I built a database mapping and code generation tool for their new booking system product, which was based on Rails C#, MYSQL,MSACCESS and XML which follows the principles of an ORM. This was used as the foundations for the whole project. I am NOT going to recommend that you use something similar. We built the custom ORM for reasons that made sense at the time and I have come to believe that it may have been better to use an out of the box solution. However, the project has given me an excellent understanding of the principles involved in building and managing an ORM and the technical advantages and disadvantages of choosing one. I believe I would be in a good position to analyse your requirements and advice on the best manner of proceeding.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Understanding your story, your application works, but just needs some tweaking to not freeze and to not stop after 1000 records? That isn't hard to do.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Boardman, United States
5.0
7
Payment method verified
Member since Nov 27, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.