Can anyone please correct my code - I can't seem to get round the & and " and ' parts . Perhaps someone can point me to a good article about all this Thanks
Code:
If (DCount("*", "tblprinter", "[strprinter] = '" & [Forms]![frmbook]![TxtAddPrinter] & "'AND [strcity]= '" & [Forms]![frmbook]![TxtAddCity])) > 0 Then
etc......
Code:
If (DCount("*", "tblprinter", "[strprinter] = '" & [Forms]![frmbook]![TxtAddPrinter] & "'AND [strcity]= '" & [Forms]![frmbook]![TxtAddCity])) > 0 Then
etc......