I was able to figure out my last Access issue just by posting it, but this time around, for the life of me, I can’t figure out how to go about doing what I’d like to do. I’ve learned a lot in the past week (literally, I have never done any Access/SQL/whatever work until last week!), but I think my ambitions have gotten much bigger than my knowledge!
I’ll try and keep this short, as much as possible.
I have a form on startup (though the switchboard, actually) that allows new data to be entered into a specific table. The data to be entered, is, for example, Product, Country, DocumentType, DocumentNumber, RevisionNumber and a few other things that aren’t important for this next step.
What I want to do now, is have that new record data generate a filename, since this name is what the original paper document will be scanned and stored onto a server under. For example, a Letter for SuperWidget300 from Denmark, number ABC-123 Revison 2 will be scanned and saved under the name DENLettABC-123R2.pdf.
I want the user to input the data and receive a popup or a report with that filename on it, so that he or she can copy the number down, go scan the paper and save the file.
I also need this database to store this filename, so that a user can later do a search on (for example) Country, and have the products in that country return the filename appended to the predefined web path, which is either clickable onscreen or printable from a report. I have the report generated, but I haven’t been able to do the append part yet.
Can someone help me figure out how to do this? What features should I be Googling?
I had thought about having the entry form update the table with new data and open a second form which generates and displays the filename, and this second form would have an “OK” button which both closes the form and updates the table to store that name - would this be through an update query?
How can this be done? Something needs to go in the Entry form On Click, but how does Form2 get the newest data to make the name? I don’t understand how Access “thinks” well enough to plan this out, let alone code it (not that I know how to code much at all!) This is too much of a long chain reaction for me to sort out, but I know it can be done, and it will be so spiffy when it works!
Thanks so much for any help you can provide!