im trying to display the history of each customer in a data report
when i make 2 appointments for a customer and hit the history button i see nothing
dont know why
this is my code
and this is the tables and there values
and this is what i need to display in the datareport
if any more info is needed i will add
regards salsa31
when i make 2 appointments for a customer and hit the history button i see nothing
dont know why
this is my code
Code:
Private Sub CmdHistoy_Click()
Set DTRprtAll.DataSource = CN.Execute("SELECT * FROM Appointments WHERE AppID= " & FrmCusts.LsVw.SelectedItem.Tag)
DTRprtAll.Show 1
End Sub
Code:
Customers
ID Long
FullName text
Address
DateBirth Date/Time
Facebook text
Email text
Phone text
Cellular text
HairColour text
Oxygen text
Photo text
Optional text
Code:
Appointments
AppID Long
AppDate Date/Time
AppCust text
AppHair text
AppTimein text
AppTimeout text
AppTreatment text
AppStatus text
AppRemarks text
Code:
HairDressers
HairID Long
HairName Text
Code:
AppDate
AppHair
AppCust
AppTimein
AppTimeout
AppTreatment
regards salsa31