HillTJ
To train a dog, first know more than the dog..
- Local time
- Today, 06:25
- Joined
- Apr 1, 2019
- Messages
- 731
Friends, this is probably quite simple, but i thought i'd get your recommendations. I have a form PK 'QuoteID'. On that form is a bound continuous subform FK 'QuoteCommentID' my intention is to capture the path to an 'attachment' field & i got this going fine. Now, i wish to give the attached comment a sensible filename. I wish to use a combination of both the QuoteID & QuoteCommentId as the filename.
The problem is that on a new record the QuoteCommentId does not exist (obviously) till the form is saved. So my filename is missing this bit.
Shall i force a save prior to generating each filename or lookup the previous records QuoteCommentId and add 1 to it?
What do you recommend.
The problem is that on a new record the QuoteCommentId does not exist (obviously) till the form is saved. So my filename is missing this bit.
Shall i force a save prior to generating each filename or lookup the previous records QuoteCommentId and add 1 to it?
What do you recommend.