HI Knavis,
There is no exposed view or report to find the fields in current solution.
But you can design a form, make a dataconnection in the form to evolve database, and use below queries to pull the relevant data.
select ScriptId from FR_FileInfo_ScriptFiles where FileName = 'Solution Name' and islatest =1
select top(1) FormXml from FR_FileInfo_DataFiles where StoreId = 'Id returned from above query' and IsLatest = 1
this will return the FormXMl of format :
<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Form1:-myXSD" href="manifest.xsf" solutionVersion="1.0.0.4" productVersion="14.0.0" PIVersion="1.0.0.0" ?><?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?><my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls" xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"><my:field_1></my:field_1><my:field_2></my:field_2><my:field_3></my:field_3><my:field_4></my:field_4></my:myFields>
from this XML you can easily parse the form fields.
Hope this helps.
------------------------------
Hammad Naeem
*Precisely Software Inc.
------------------------------