473,386 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Access 2010 - Unused Records on Sharepoint

Hello,

Hope this question isn't too vague or confusing, it's a novice question but I'll try to capture everything.

My group is running an Access application where the data resides on Sharepoint. Multiple users are in it simultaneously every day.

The form being used is a bound form. Because I inherited this and there are extensive data fields, making an unbound form at this point is not feasible without a lot of extra work and time.

So when each user goes in, some of the data fields populate. I'm assuming that they lock or reserve the current record that the current user is atached to. It makes sense so they don't all write to the same record.

The user clicks a button when they complete the form and the acNewRec command is executed. Once complete they are assigned a new record (I assume the next free one).

But of course when they "X" out of the application the record they are currently in gets updated with whatever is in the form.

I've tried Undo and so forth, but is there any way to release that record back?

Basically it causes "gaps" in the data, where several legitimate records are followed by one or more blank (or minimally populated) records.

Compact doesn't seem to do anything, but I may be misunderstanding what Compact does.

Thank you!
Nov 7 '14 #1

✓ answered by Seth Schrock

Do you have some code in place that assigns these numbers? By default, no record is created until data is entered. For example, I can have three users go to a new record. No matter what order the users go to a new record, the first person to start typing gets record one. If the other two users haven't starting typing when the first user goes to a new record and starts typing, then the first users also gets record 2. There is no saving of a record number for a person. If you have code that changes fields values when you either change records or go to a new record, then this would trigger the start of a new record. If this is the case, then you could just set default values for fields as these don't trigger a new record when you go to a new record. Or you can create an Undo button that undoes the changes to the records and then closes the form. This would use up a value of the primary key (assuming auto number field), but the record wouldn't be there.

4 1158
Seth Schrock
2,965 Expert 2GB
Let me make sure that I understand what you are saying that the problem is. I think that you are saying that new records are getting created when they close out of the program and you want this to stop happening.

When you say that the users are assigned a new record, are these records that are already entered into the database that they are just editing, or are these records somewhere else and the users have to enter them in the database?
Nov 7 '14 #2
When a person opens the application or after Adding a Record they "sit" in the next available record on the file. If the next record is number 5, it is "reserved" for them and they dirty it. And if another person uses the app then they may get record number 6 so they don't conflict with the person at record 5. This is how I interpret it.

Now if the person at record 6 adds a record, they may go on to record 7 even if the person at record 5 hasn't done anything at this point.

And so on. So if the person at record 5 never adds the record (i.e. never executes the acNewRec command) and closes out the application, record number 5 is still out there and blank, or mostly blank.

What I'm wondering if there is a way to "reclaim" record 5 or even delete it. What's happening is I'm getting a series of records with legitimate data. But every so often is an empty record.

So if I have 100 records, 10 may not saved and be junky, I really want to have 90 records when all is said and done.

Hope this makes sense. Thanks!!
Nov 8 '14 #3
Seth Schrock
2,965 Expert 2GB
Do you have some code in place that assigns these numbers? By default, no record is created until data is entered. For example, I can have three users go to a new record. No matter what order the users go to a new record, the first person to start typing gets record one. If the other two users haven't starting typing when the first user goes to a new record and starts typing, then the first users also gets record 2. There is no saving of a record number for a person. If you have code that changes fields values when you either change records or go to a new record, then this would trigger the start of a new record. If this is the case, then you could just set default values for fields as these don't trigger a new record when you go to a new record. Or you can create an Undo button that undoes the changes to the records and then closes the form. This would use up a value of the primary key (assuming auto number field), but the record wouldn't be there.
Nov 10 '14 #4
I see where you're going with that. I'll try to create an Undo and see if that resolves that. Thank you!
Nov 12 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: bsmith1077 | last post by:
Need information on how to migrate Access 2007 DB to SharePoint. Existing Setup: ~Complex Access 2007 database (been evolving for 15 years) ~Accde file renamed to Accdr provided via network...
5
by: colsoft | last post by:
I am using Access 2010. Am generating reports for the records, one record per page. The records on the even pages have a light black background shading which appears when am printing. Please i need...
1
by: AlainLamothe | last post by:
I am trying to move my Access2010 database to SharePoint. My database tracks project and because more than one person can work on a project and a person can work on multiple projects, I have a...
1
by: Sweeda | last post by:
Hi guys, as you read in the title, I've got problems with more than one record in a table: On opening the form that displays the field it appears the error 3197 "The Microsoft Jet database...
2
by: Paul Howarth | last post by:
My Access 2010 database is suddenly not appending Named Ranges from Excel into and Existing Access 2010 Table. I have not written any code. I simply right-click the Table-Import-Excel and follow...
11
by: Jo Ann Dullum | last post by:
I have a table in Sharepoint 2010 that users have submitted proposals into. I have a link to it in my Access 2010 database. The link works perfectly on my XP laptop but not on my Windows 7 desktop....
1
by: manashRanjanDas | last post by:
Hi, need a small help in understanding the logic or approach. 1. I have a database (Access 2010), which is getting updated frequently by different people on the intranet by VB application. 2....
1
topher23
by: topher23 | last post by:
A layout provides a grouping method for controls on a form or report. The two default layout types are Tabular (labels in form header, controls in detail), and Stacked (labels to the left, controls...
4
by: MauricioP | last post by:
So I have a SharePoint List and an Access DB... I'm trying to create a one way link from SharePoint to my DB so my SharePoint will update the DB but not the other way around... The purpose of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.