Hello
I believe it is a structural problem, but I cannot find where... When
you state master and detail-tables would I start with the Basic table
as my anchor and in table view establish subdatasheets based on the
other tables? If so, how do I get the SSN's to populate the other
datasheets so that I may update the information...
Here is what happens now:
1. I have a form specifically for adding new personnel, it all goes to
the tblg3basic Table.
2. I save the data, and close it
3. I have a form based off of a query to search for names, I do this so
that I can ensure that the data made its way into the basic table. From
there I have command buttons that open other forms and when I do that,
the forms do not display the information.
4. The way around this right now is for me to plug in the SSN manually
in each table and only than can I update this information...
I hope this helps you to help me!!
Thanks
Robert A. Wukich, Sr
Sgt/USMC
> Hi Robert!
> It looks to me like you might have a structural problem - I'm not sure that
[quoted text clipped - 11 lines]
> - then you can create a Details form with subforms for all the other tables
> so that when you enter SSN in the master, it will be entered into the
> details,
> again like Order# in the Orders form
[quoted text clipped - 5 lines]
> I have a free tutorial on Access that you might want to check out.
> It's at www.profsr.com Profsr.com Tutorials
Ed Warren - 12 Apr 2005 23:24 GMT
Please read my responses to your earilier posts, where I talk about how to
help us help you (Introduction, Programming Automation)
Note the following:
Tables -- store data (they are not for data entry)
Relationships -- tie tables together using primary and foreign keys
Forms -- Display data, add data, edit data, and sometimes (with caution)
delete data
Queries -- Table like in that they select data to display in forms or
reports.
Reports -- Print out data or in preview mode can display data
Macros -- code like things that allow those of us that are not programmers
to do some really neat (dangerous) things.
Modules -- this is where the VBA code lives.
Did I mention tables are not for data entry?
sub-forms are a powerful friend.
-------------------------------------------------------------------------------------------------------snip
I save the data, and close it
> 3. I have a form based off of a query to search for names, I do this so
> that I can ensure that the data made its way into the basic table. From
> there I have command buttons that open other forms and when I do that,
> the forms do not display the information.
> 4. The way around this right now is for me to plug in the SSN manually
> in each table and only than can I update this information...
------------------------------------------------------------------------------------------------------snip
the 'bell ringer' is: "close it".
To get the 'Cascade' of key fields you are wanting you have to use forms and
sub-forms.
For those on the list that don't speak 'military'
LstBldTyp ????
LstClnc ????
LstGndr gender
LstKeyBilletO key billet authorized
LstRankList list of pay grades Enlisted-1 to
Enlisted-9 and Officer-1 to Officer-10 (or their equivelent)
LstSwimClass Swiming qualification level
LstWorkSection Work Section
LstWpnsQual Level of Weapons Qualification
TblG3Account not a clue
TblG3Basic SSN(Key), FirstName, LastName, other stuff
TblG3Clnc not a clue
TblG3Med something to do with medical ?????
TblG3NoK 1:Many --> Next of Kin (each member can have
several Next of Kin listed on their emergency data form (e.g. Wife, mother,
father, brother)
TblG3NonResPME Non Reserve PME (??? I have not a
clue)(NAC)
TblG3OIF0406TrngALL not a clue
TblG3OIF0406TrngSel not a clue
TblG3Promo 1:Many --> Promotions each member is
promoted (demoted, some marines 'play rough on nights out' ;>,) several
times :: sample fields PromotionID, SSN, date, NewPaygrade, Notes.
TblG3Recall 1:Many --> (Maybe) Each Marine could be
recalled on several occasions and each recall could have unique data
elements attached.
TblG3ResPME not a clue
TblG3Skills 1:Many --> (even if Marines ;>, each
may have more than one skill)
TblG3Training
TblG3Uniform 1:Many --> each member may be (issued)
several different uniforms. May be paid for uniforms more than once. May be
assigned a different Uniform allowance at different times.
TblG3Vehicle
TblG3Weapons 1:Many --> each member may be qualified in many
weapons:: sample fields WeaponQualID, SSN, date, (LstWpnsQualID, from
LstWpnsQual)
So, In general your tables are 'almost correct' (assuming you have a 1:many
relationship in the tables I cannot decipher)
You want to use forms and sub-forms to enter data (Link parent-child fields)
You probably want to use a tabbed control to contain the various sub-forms.
That is about all the damage this old submariner can do with the information
provided.
Ed Warren.
> Hello
>
[quoted text clipped - 54 lines]
>> I have a free tutorial on Access that you might want to check out.
>> It's at www.profsr.com Profsr.com Tutorials