Conditional formatting based on New Record ? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Conditional formatting based on New Record ?

Last post 03-17-2010 02:39 AM by paulsassya. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-09-2010 08:31 AM

    Conditional formatting based on New Record ?

    Hi,

    I am using InfoPath 2007.

    I have a form with qRules in and working.

    I have created the form linked to a database table.

    I have the query selection box based on a secondary datatable.  When the selection box is updated an appropriate button appears - either get existing records(Run Query), or create a new record (New Record).

    I would like the datafields section on the form to be hidden until one of these buttons is pressed.  I don't know what condition to use to get the conditional formatting to work.

    I can count the number of records - if any exist.  So I can cope if there are existing records.

    If there are no existing records - what condition can I use to make the section appear - but only after the New record button has been pressed.

    I hope this makes sense. 

    Thank you

    Catharine

  • 03-16-2010 12:07 AM In reply to

    Re: Conditional formatting based on New Record ?

    Hi Catharine,

    You can put the datafields section in an optional section that is hidden based on a field in a secondary data source (you can add a little XML file that has one value in it) and set that value when the New record button is pressed.

    Hope that makes sense!

    Patrick

    Patrick Halstead
    Project Manager at Qdabra
  • 03-17-2010 02:39 AM In reply to

    Re: Conditional formatting based on New Record ?

     Hi Patrick,

     You mentioned: "set that value when the New record button is pressed"

    How do you do that?

     

    Paul

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.