I am designing a simple form in InfoPath 2007, connected to a SQL database. The form has two fields: one is PartNumber, the other is PartDescription. I added a rule so that when the PartNumber matches one in the database, the PartDescription will fill in automatically.
The rule looks like this:
Set a field's value: PartDescription = @Description [PartNumber=@StockCode].
When I fill out the form though, the rule doesn't work. There isn't an error message or anything, the PartDescription field just doesn't fill in. Any suggestions?
Thanks.