Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2006

Tip: Looking for answers? Try searching our database.

Newbie Mayday!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shaun - 05 May 2006 04:19 GMT
Hi,

I'm trying to create my first project and have spent two days and gotten
almost nowhere. I was wondering if anyone can help me. I really am only stuck
on two parts.

Background:
I am connecting my infopath form to an access relational database as my
primary data store. I have successfully created a form for users to track the
maintenance status of their vehicles (i'm in the army, we need to track
certain comunications gear). All is well (mostly) with that. Now I want to
have a summary page where they can see the total number of deficiencies by
type and i'm stuck. My database scheme is as follows (shortened for clarity)

Table: Vehicles
key
vehNumber

Table: Radio
key
keyVehicle (one-many with vehicles.key)
keyRadio (linked to radioTypes.key)

Table: RadioTypes
key
radioType

Table: Deficencies
key
keyVehicle (linked to vehicle.key)
keyRadio (liked to radio.key)
problemNote

Problem 2:
There are also tables that link the deficencies table to the types of
deficencies but you get the general idea. Now, I can't figure out how to make
a summary page which lists the different types of deficencies and sums them
up. I made a secondary data connection with the table of deficency types
being the parent table and then tried to make a repeating section but when i
tried to put a textbox in the repeating section it wanted me to bind it to a
repeating type. I don't want to do that, i just want to count how many
systems there are. I'm envisioning something like this:

------
System: Fancy Radio 1
Total Radios: X
----------
System: Fancy Radio 2
Total Radios: Y

With that as a repeating section but I can't figure out how to put the total
radios thing in. It keeps trying to get me to bind it to my data store. I'm
so confused. Please help.

Problem 2: (Probably Easy)
On my data entry page it lists all the vehicles in a repeating section.
Inside that is a repeating section to enter the types of radios (and there is
a repeating section inside that where they can put in deficiencies (each
radio can have more than one problem)). When I click "insert item" everything
pops up like it should be it also automatically inserts expands the nested
repeating section for a deficencies. Since most of the time the radio doesn't
have a problem they have to manually click "remove item". Why does it keep
showing up, no one click "insert", the other repeating sections don't
automatically insert themselves?

I'm sorry for the length. Thanks for your help.

Shaun Baker
Adam Harding - 05 May 2006 15:23 GMT
Hi

Good going so far.

To display the faults so far you need a separate view, click on views add
new view.
Then add query fields from your database that you want the users to search
on.  Then add a search button that queries the database and UNDERNEATH that a
repeating section that has datafields in it that display the data you want to
the users to see (the reason it is repeating is so it can display multiple
results).

And Bob's your uncle.

Hope this helps, any questions mail me on adam.harding@ltsbasset.co.uk

cheers Adam

> Hi,
>
[quoted text clipped - 64 lines]
>
> Shaun Baker
Shaun - 05 May 2006 16:36 GMT
okay, i'm working on that idea. I'll let you know. Any ideas on how to keep
the nested repeating table from automatically populating a single item
without me hitting "insert item"? Thanks.

Shaun

> Hi
>
[quoted text clipped - 82 lines]
> >
> > Shaun Baker
Shaun - 05 May 2006 16:56 GMT
i can't create queries from secondary datastores though, do i need to make
another form with that as the primary?

> Hi
>
[quoted text clipped - 82 lines]
> >
> > Shaun Baker
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.