Retaining an ID on a form - is there a better way.
Hello,
I currently have a form which enables a user to make appointments for a salesperson. The form has a calendar control and a subform which lists the appointment details ie date, time, status etc.
The subform runs of a query where I have as a parameter the salespersons id. Therefore when you open the appointments form you are requested to enter the salespersons id. You can then select a date from the calendar to see appointments already made or make new ones.
This works fine, however each time you select a date from the calendar you are required to enter the salespersons id. I was wondering whether there was a better way of approaching this so when the form was opened you would not have to keep entering the salespersons id.
Look forward to any suggestions.
Thank you
Hello,
I currently have a form which enables a user to make appointments for a salesperson. The form has a calendar control and a subform which lists the appointment details ie date, time, status etc.
The subform runs of a query where I have as a parameter the salespersons id. Therefore when you open the appointments form you are requested to enter the salespersons id. You can then select a date from the calendar to see appointments already made or make new ones.
This works fine, however each time you select a date from the calendar you are required to enter the salespersons id. I was wondering whether there was a better way of approaching this so when the form was opened you would not have to keep entering the salespersons id.
Look forward to any suggestions.
Thank you