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 / September 2005

Tip: Looking for answers? Try searching our database.

Problem requerying the data source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smaur - 22 Sep 2005 18:52 GMT
Hi,
My form uses a role based rule upon opening to query the database, thu
limiting the dataset size to only those items of interest to that use
role.
The user is first confronted with a repeating table which furthe
filters the data to show a  list of open items for that specific use
(based on a username field).
My goal is to allow the user to select an item in the repeating tabl
by clicking a check box in the relevant row, a check box rule is the
used to grab the primary key: "@ReqID" for that line and store it fo
later use in an nonrepeating field "my:/ID". Next the user must a clic
the "Details" button which uses a rule to set the @ReqID value in th
queryFields datasource equal to the value in "my:/ID", and then requer
the database to return only that entry. The view should then change t
show additional detail(fields) within the same table - but for th
selected record only.
I have set this up, but the query does not work as intended, Every ite
in the database is returned, instead of just the selected one.
The problem I believe is in using the button rules to set th
queryField @ReqID value. It is apparently remaining null and no
accepting the desired value
Any ideas as to what I'm doing wrong, or perhaps a better way to d
it.
Thanks
smaur - 22 Sep 2005 19:39 GMT
It appears that querying the database using the primary key for th
queryField (@ReqID) does not work. When I added a new field with
unique value I am able to query against that field and obtain th
desired results
 
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.