I'm not even sure this is possible. I have a query that, assuming the needed data is there, finds the highest number from a list. Easy.
Here's the hard part.
I can't figure out how to set an automatic first number, just in case there isn't one already there.
I THINK I need to use an IIF() statement, but I have NO idea how to imply the lack of data within it. It would basically look like;, IIF( {no data is returned from}[insert code here],1,
Here's the hard part.
I can't figure out how to set an automatic first number, just in case there isn't one already there.
I THINK I need to use an IIF() statement, but I have NO idea how to imply the lack of data within it. It would basically look like;, IIF( {no data is returned from}[insert code here],1,
Code:
)
Anybody have any ideas?