Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21839

[RESOLVED] customers history dosnt display in datareport

$
0
0
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
Code:

Private Sub CmdHistoy_Click()
Set DTRprtAll.DataSource = CN.Execute("SELECT * FROM Appointments WHERE AppID= " & FrmCusts.LsVw.SelectedItem.Tag)
    DTRprtAll.Show 1
End Sub

and this is the tables and there values
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

and this is what i need to display in the datareport
Code:

AppDate
AppHair
AppCust
AppTimein
AppTimeout
AppTreatment

if any more info is needed i will add
regards salsa31

Viewing all articles
Browse latest Browse all 21839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>