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!
9 1006
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
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.
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
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.
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
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.
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
Ok, thanks for your time! I can't imagine where this issue is coming from.
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?
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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 ". ...
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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,...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
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...
|
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 ...
| |
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...
| |