473,503 Members | 3,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Access text field in form is autopopulating but shouldn't be

7 New Member
I have built an Access database for a medical department to track patient appointments. We have a comment line (text) to enter free text information as needed. Intermittently my users are finding that the comment box will autopopulate information duplicated from another patient's comment line, even when they haven't clicked in the comment box or typed anything there at all. It is causing a great deal of confusion for them as multiple people are looking at the form and don't know that that autopopulated info isn't supposed to be there. It happened again just this morning and the only information the two records shared was the date. I am an Access newbie so any advice is GREATLY appreciated!
Jul 12 '16 #1
9 1006
PhilOfWalton
1,430 Recognized Expert Top Contributor
As you're a newbie, we'll be gentle with you.

Is this a multi-user application?
We need to see table structures, relationships, and the recordsource for yourform to have any idea of what is happening

Phil
Jul 12 '16 #2
sarab2015
7 New Member
I'm sorry, I'm self-taught so I'm not sure what exactly you are looking for...

I have a table set up with the following fields:

ID (AutoNumber), Appointment Date (Date/Time), Appointment Time (Date/Time), Scheduled/Add-On (Text with lookup), Clinic/Ward (Test), On Call Indication (Text), Name (Text), ID# (Text), Exam (Text with lookup), Contrast (Text), Protocoled (Y/N), Time of Contrast (Text), Lab time (Text with lookup), Call Status (Text with lookup), Check In Time (Date/Time), Check in by (Text), Registered (Y/N), Time entered scanner (Date/Time), Time Completed (Date/Time), Tech(s) (Text with lookup), Room Number (Text with lookup), Exam Status (Text with lookup), Escort Called (Text), Comments (Memo)

From there I have several Queries set up to automatically pull up the desired info. The form in question uses the Query for Today’s Appointments with the default date being Date().

The form references that query. We have not seen this happen on any of the other forms. The database is split into front end and back end. Users only have access to the forms. This form is split so the top half is the form version and the bottom half is datasheet. Users can use either side to add info, and they’ve seen the autopopulating happen whether they’re using the form half or the datasheet half. I have not been able to recreate the autopopulation; it just happens intermittently with apparently no rhyme or reason…

The Record Source: SELECT CTtable.[Appointment Date], CTtable.[Clinic/Ward], CTtable.[Scheduled/Add-On], CTtable.[Appointment Time], CTtable.[Name (Last, First)], CTtable.[Last 4], CTtable.Exam, CTtable.Contrast, CTtable.[Time of contrast], CTtable.[Ready time], CTtable.[Lab time], CTtable.[Lab results], CTtable.[Check In Time], CTtable.[Checked In By:], CTtable.Registered, CTtable.[Time entered scanner], CTtable.[Time completed], CTtable.[Tech(s)], CTtable.[Room Number], CTtable.[Exam Status], CTtable.Comments, CTtable.Protocoled, CTtable.[On Call], CTtable.Escort FROM CTtable WHERE (((CTtable.[Appointment Date])=Date())) ORDER BY CTtable.[Scheduled/Add-On] DESC , CTtable.[Appointment Time], CTtable.[Ready time];

There are no relationships in use with this table/form.
Jul 12 '16 #3
PhilOfWalton
1,430 Recognized Expert Top Contributor
I hate lookups, but never mind.

You didn't answer whether is is a multi-user application.

Your query has only one WHERE clause, so it is pulling up all Appointment records. How are you filtering this to the appointment that you want?

Phil
Jul 12 '16 #4
sarab2015
7 New Member
Yes, the entire database has about 100 potential users with probably 30-40 active most of the day. This particular table would have about 4-5 active users at a time.

The query pulls a list of the entire day's appointments. The datasheet half of the form shows the entire list ordered either alphabetically or in time order depending on the user's preference. If they click on a record in the datasheet half they can edit it there or in the form half at the top of the screen.
Jul 12 '16 #5
PhilOfWalton
1,430 Recognized Expert Top Contributor
So the datasheet is a subform of the main Appointments form? When one selects a record on the subform, the main form record changes to match?

Are these linked using LinkMasterFields & LinkChildFields?

Phil
Jul 12 '16 #6
sarab2015
7 New Member
They are all stand-alone forms which refer back to the same table. For example, I have one form which shows all appointments, one for today only, one for yesterday only, one for tomorrow only, one for a custom date range. They each refer back to their own queries as well. They are not linked beyond referring back to the same records in the table.
Jul 13 '16 #7
PhilOfWalton
1,430 Recognized Expert Top Contributor
Sorry, I can see nothing wrong. My advice would be to have only one form with a filter to set the date. With so many forms and users, there is plenty of opportunity for operator error. Also check your record locking options

Phil
Jul 13 '16 #8
sarab2015
7 New Member
Ok, thanks for your time! I can't imagine where this issue is coming from.
Jul 13 '16 #9
jforbes
1,107 Recognized Expert Top Contributor
Split Forms can act a little strange from time to time, especially if there is code for the Form. This thread kind of goes over it, Split Form does not hold Module Variables in Access 2007!!!!. This one also hits on it, Access 2007: Split Forms with Subforms

This may or may not be what you are running into. If you would like to post the Form's code, we could take a look at it and see if there might be something there.

One other thing that I didn't see in any of the previous posts is: What is the ControlSource for the Control that is acting up?
Jul 14 '16 #10

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

Similar topics

2
4244
by: NewBob | last post by:
Since Access automatically highlights all of the text in a text control (I use it to hold data from a memo field) when the control is activated, I've added the following code to put the cursor at...
8
18301
by: Lyn | last post by:
Hi, Can anyone tell me how the initial value displayed in Combo Box is determined when a form is opened? I am loading the dropdown from one field ("CategoryName") of a table, with "ORDER BY ". ...
1
3307
by: David | last post by:
Hi, I have a continuous form. For each record I have a field 'HeldDate' (Text Field from a table) Against each record I have a button which sets the visibility of this text box to 'True' and...
4
4558
by: steph | last post by:
Hello, I've got a text field in an access form (Microsoft Access 2002, SP3), that the user has to fill out. Now I don't want the user to leave this field (and this record) until he has filled...
2
3838
by: alexsg | last post by:
I'm setting up a resolutions database where each resolution will be copied from Word documents and pasted into a memo field. The resolution will be in the form: Resolution title <cr> Project no...
0
1568
by: Kyote | last post by:
In my project I have an underlying Access DB. One of the column's is currently set as a text field but I need to change it to a date/time field. I can open the Access DB in MS Access and change...
2
3364
by: Roger | last post by:
I've got two tables in sql2005 which have an 'ntext' field when I linked the first table in access97 last week using an odbc data source the access-field type was 'memo' when I link the 2nd...
5
10987
by: Bubo.virginianus | last post by:
Heya! I feel I'm beating an old horse to death with this question but I can't get around the problem. I want to update a text field on a form with a string from a VB module. I need...
2
1477
by: MOCaseA | last post by:
OK I have a problem. I'm fairly sure this has been answered somewhere, but ai can't seem to find it. I have a single table with 3 fields: Table1: empFirstName empLastName empFullName In a...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7261
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,...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.