can anybody point me in the direction as to be able to make report and form appear on the same vie and be able to see text selected in form appear in report as sentences like word depending upon what is selected.
Thanks all help greatly appreciated
Hi Everybody,
I have multiple appointments set for a person in outllok over time . The way I set this is by code from my form where the appointments are added based ona date and it generates; 4 future dates as 3 month appointment; 9 month , 1 year and 2 year. All this takes place with a single...
Thanks Cajun a lot. your code worked word to word.
But remeber I had also asked if there was a way to put other things in the subject portion apart from SSn as it would be weired that it only show some numbers. i think it would be good if I could also see the patient name and phone number with...
This is the working code only for the three month box:
Private Sub AddAppt_Click()
On Error GoTo AddAppt_Err
Dim dteTemp As Date
dteTemp = Me.DateEnrolled
Me.DateEnrolled = dteTemp
Me.Threemonthappointment = DateAdd("m", 3, dteTemp)
' Save record first to be sure required fields are filled...
Thanks for this post, I was able to use the microsoft fix to get the values in outlook but Now i want to get multiple appointment times based on a single date and they are in the future with 3, 9 and 12 months increment.
So the problem is how to insert all the values in their respective...
Thanks a lot Tom and Cajun it was a great help and when i fixed the code it took care of the date error, so now it works great but now let me bring two other things if you guys can help with.
1. You see that in the code 5 messages above I have two command buttons for sending to outlook the...
this is the portion of the code that i posted earlier with the modification and u already know the error as above
Private Sub AddAppt_Click()
On Error GoTo AddAppt_Err
Dim dteTemp As Date
Me.DateEnrolled = dteTemp
Me.Threemonthappointment = DateAdd("m", 3, dteTemp)
' Save record first to be...
Hi Tom tried ur suggestion and inserted the code before the Send to outllok code in the comand button it does enter the date and send it to outlook at the same time but now it's changing the date in DateEnrolled to a date in 1899 and the threemonthappointment date to 3 months ahead in the year...
Hi there, This is the complete code i have presently on my subform:
Option Compare Database
Dim cboOriginator As ComboBox
Private Sub AddAppt_Click()
On Error GoTo AddAppt_Err
' Save record first to be sure required fields are filled.
DoCmd.RunCommand acCmdSaveRecord...
Its not the control source but the default value for the threemonthappointment and ~+270 for the ninemonthappointment. That is how i achieved it before when the field was on two different forms and I dinot need the requery macro as the value always defaulted to the value in the DateEnrolled +...
I donot know what the control is for the form I created the form seperatly and puuled it into the Demographics forms, So i understand that becomes a subform and when I click on properties on the main form I get Subform/subreports: Visits. Also the name and control source both show the same name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.