Field to display last record in table

J

johnpinter

I am new to Infopath and SQL programming.

I have a form that is created from a SQL database. This database has an
autonumber field set as primary. However, I can not display anything other
than 1 or empty using the last(), count() or max().

Can someone please tell me how to reference the last record in the table? I
want to be able to pull the last record in the table, increment it by 1 and
submit the new record/number back to the table once the form is complete.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top