473,442 Members | 1,731 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

access table field question

In a simple access table, would like for FDL1and FDL 2 to auto generate

fld one is facility number (5digit)
fld two is the facility name

Table contains: field name, field number, date received, number of, number without, selection 1, option 1, selection2, option 2 ...selection 3, option3

When I can receive info with or without the facility number.......so when entering the row, I would like to be able to use the facility name from the combo box and the field number will automatically appear in the next field.

This will help to verify the correct number is assigned.

This table will intimately be used in a sub form
Help please I cannot find anyone to help figure this out. I was able to get this to work on a from, but that was a mistake to make changes on the form, because the table do not work now

Novice trying to keep her job thanks in advance
Mar 28 '09 #1
59 5357
RuralGuy
375 Expert 256MB
What value is actually recorded in the table? All that is needed is a ForeignKey from the facility table. The a query can join the two tables so you can see whatever fields you need from either table.
Mar 28 '09 #2
FACNUM FACNAME RecDate Method ENTRYDATE NumCases NUMWITHtx OHYLTR NR Total Cases Site 1 Frequency1 Site 2 Frequency2 Site 3 Frequency3 Site 4 Frequency4 Notes
Mar 29 '09 #3
RuralGuy
375 Expert 256MB
You are using a ComboBox to populate a field in this table. What is the SQL for the RowSource of the ComboBox and what are the BoundColumn and ControlSource values?
Mar 29 '09 #4
You are using a ComboBox to populate a field in this table. What is the SQL for the RowSource of the ComboBox and what are the BoundColumn and ControlSource values?


Yes I am using a ComboBox to populate the FacNum field. The SQL ( according to the access drop down is ) SELECT [surgery Services].FACNUM FROM [surgery Services];

TheRowSource is

The BoundColumn


The ControlSource value is






























For the FACName field the sQL statement is SELECT [surgery Services].Field2FROM [surgeryservices];



http://bytes.com/



unable to get screen shot
Mar 29 '09 #5
RuralGuy
375 Expert 256MB
Maybe if you posted your db? Remove any sensitive data of course.
Mar 29 '09 #6
no problem how and where should i do that
Mar 29 '09 #7
RuralGuy
375 Expert 256MB
Compact and Repair your db first then zip it up. Then reply using the Post Reply button. If you scroll down you will see a Manage Attachments button. Push it and upload your db. Then Submit Reply.
Mar 29 '09 #8
rural guy am trying to do as suggested please bear with me i am in a panic
Apr 1 '09 #9
here is the database
Apr 1 '09 #10
RuralGuy
375 Expert 256MB
There might be a minimum post count before attachments are allowed. You can send it to Rural Guy at Wild Blue dot Net if you want.
Apr 1 '09 #11
ok
will do in a few
Apr 1 '09 #12
it is done how about your end?
Apr 1 '09 #13
RuralGuy
375 Expert 256MB
Looks like it made it. You should really Compact and Repair first and then Zip it up to save transmission time. I'll have a look at it.
Apr 1 '09 #14
RuralGuy
375 Expert 256MB
What form are you working with here?
Apr 1 '09 #15
oh you got it really
Apr 1 '09 #16
RuralGuy
375 Expert 256MB
...and what table(s) are we trying to update? It looks like this data has been imported from an Excel file. True?
Apr 1 '09 #17
the working rec reports form perfoorms the function I am trying to get
when the combo box is used and a facility number selected the name box fill with the correct facility name
Apr 1 '09 #18
some of the table were from an excell file

i am unable to get the form to fill the table because I made correction to the form and not on the original table rec reports

there are a few different version of the form and table becuase if i deleted the tables or forms , the form would no longer work
Apr 1 '09 #19
in the forms area the working rec report form if viewed from the design view and select the datasheet view the forms works perfectly but you cannot save the form in the table view
Apr 1 '09 #20
RuralGuy
375 Expert 256MB
Here's a link you need to read: The Evils of Lookup Fields in Tables
Apr 1 '09 #21
RuralGuy
375 Expert 256MB
Have you done any reading on Normalization of tables? There are a number of issues with your structure that will continue to cause you grief until the tables are normalized.
Apr 1 '09 #22
RuralGuy
375 Expert 256MB
@simplerequest
What does this line mean? What is the Table view?
Apr 1 '09 #23
RuralGuy
375 Expert 256MB
Did you get my last email?
Apr 1 '09 #24
look in the form table working rec reports selecting the design view drop down and select the datsheet view

a table will appear this datasheet view appears to be a table but it is not.
Apr 1 '09 #25
email on yahoo?
going
Apr 1 '09 #26
no RG I have never read anything on normalization
i just quickly read the Evils of Look Up Fields in Tables

what i read makes me think that I am really way out in left field

is it after 3 am where you are? where are you and do you ever sleep?
Apr 1 '09 #27
RuralGuy
375 Expert 256MB
@simplerequest
This is the Datasheet view of the form and can be made the default if you want. You can not see the command button on your form in that view.
Apr 1 '09 #28
RuralGuy
375 Expert 256MB
It is only 9:30 PM here right now and I do sleep...often ;). What you have can be fixed but you really need to do some reorganizing first. How much time do you have on the project? Days or weeks perhaps?
Apr 1 '09 #29
RuralGuy
375 Expert 256MB
We can pick it up again tomorrow if you want.
Apr 1 '09 #30
Rural Guy are you still there?
Apr 1 '09 #31
RuralGuy
375 Expert 256MB
Yes indeedy. May I be of assistance?
Apr 1 '09 #32
Short on time i agrre i need to reorganize it i was afriad to delete tables
are you able to see my vision ?

I really thought this would be simple , well not simple but not complex in nature

what do you think?
Apr 1 '09 #33
RuralGuy
375 Expert 256MB
@simplerequest
I'm sorry but not really. You seem to be trying to fill out the RecReports table but I have no idea what is needed in there. The important thing here is there is no reason to duplicate data in a RDBMS. Keys are duplicated in the tables but the actual data only resides in one table.
Apr 1 '09 #34
It is after 11pm. Is there a way to get the table to work, without using the combo boxes
Apr 1 '09 #35
RuralGuy
375 Expert 256MB
The ComboBoxes can be on the form, just not in the table. I'll play a bit but I really do not understand the table.
Apr 1 '09 #36
RuralGuy
375 Expert 256MB
Is the [cAmbulatory Services Surgery and] table where the [FACNUM] and [FACNAME] fields are home base? Is this the main table for this data? Who assigns the FACNUM?
Apr 1 '09 #37
You seem to be trying to fill out the RecReports table but I have no idea what is needed in there.

Answer:
The RecReports=received reports. In this table I will enter the date I received the reports, how many I recieved, how many were submitted with treatment, how many are non reportable, the promary site and how many of each primary site were received.

(sorry that file did not have the complete design view page descriptions )


The info in RMCDS is the respones to a checklist. The information was entered in this table as I received the returned checklist.

I hope to enter the checklist into into a TAB on the NameForm. as a subform.
Another TAB on the name form would be the rec reports table.
Apr 1 '09 #38
yes that is the source
Apr 1 '09 #39
Rural Guy i just read your comment "This is the Datasheet view of the form and can be made the default if you want. You can not see the command button on your form in that view. "

Does the default then make it a table? Where I can enter and save the info?

Once I get the table to perform, I will just make a quick form, and use the form for data entry.
Apr 1 '09 #40
RuralGuy
375 Expert 256MB
Give me just a minute and I'll send you an email.
Apr 1 '09 #41
RuralGuy
375 Expert 256MB
email on the way. Let me know what you think.
Apr 1 '09 #42
cannot open zipped file
Apr 1 '09 #43
RuralGuy
375 Expert 256MB
What OS do you use? It should be on a right click of WinXP.
Apr 1 '09 #44
RuralGuy
375 Expert 256MB
Sent it again unzipped.
Apr 1 '09 #45
RuralGuy
375 Expert 256MB
BTW here's a pretty good breakdown for Normalization on this forum.
Apr 1 '09 #46
reviewing

i see the change you made on the form with the combo box

but i dont see how this works for the table there is not facility number on the table i will need that
Apr 1 '09 #47
RuralGuy
375 Expert 256MB
You have the FacID in the table. With that you can always get the facility number with a join. That is the beauty and the power of queries and joins. It is as if all of the related tables are just one big table.
Apr 1 '09 #48
RuralGuy
375 Expert 256MB
Open the qryRecReport directly. Don't you see the values you need in there?
Apr 1 '09 #49
falling asleep will read the normalization tomrrow. can we meet again tomorrow?
Apr 1 '09 #50

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

Similar topics

8
by: Vladimir | last post by:
Hello, I have a table in MS Access database. It has one field (with BYTE datatype) that has several properties set in Lookup tab of table Design View. Display Control = Combo Box. Row Source...
2
by: Daniel | last post by:
I use an Access database to basically take data exports, import them, manipulate the data, and then turn them into exportable reports. I do this using numerous macros, and queries to get the data...
3
by: Megan | last post by:
I am not that good at Access and don't know much about it, so I have a few questions for anyone who knows Access very well. First off, I should mention that the company I work for uses Access as a...
7
by: Ruben Baumann | last post by:
Just wondered if anyone has had occasion to use, or does use, FileMaker, or Raining Data's Omnis, or Alpha5's software, and how they compare with Access? Ruben
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
8
by: Yitzak | last post by:
Hi is there a way to run a SQL Script to Update an Access Schema. Without using VBA code. E.g. in mssql server I can run script like if not exists (select * from syscolumns where name =...
10
by: Robert | last post by:
I am an attorney in a non-profit organization and a self-taught programmer. I'm trying to create a client db that will allow me to search for potential conflicts of interest based either on Social...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
20
by: hippomedon | last post by:
Hello everyone, I'm looking for some advice on whether I should break the normalization rule. Normally, I would not consider it, but this seems to be a special case. I have created an...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Thank you for that. It was very...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
1
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
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.