Einzelnen Beitrag anzeigen

Benutzerbild von Union
Union

Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.490 Beiträge
 
Delphi 7 Enterprise
 
#2

AW: In der DB suchen und eine Bedingung erfüllen?

  Alt 1. Feb 2014, 11:20
Delphi-Quellcode:
 + 'WHERE allStations.aFavorite=1 AND '+
    (allStations.aName LIKE '+str+' '
+
'OR allStations.aStreamURL LIKE '+str+' '
+
'OR allStations.aWebsiteURL LIKE '+str+' '
+
'OR allStations.aScheduleURL LIKE '+str+' '
// +
'OR allStations.aFavorite LIKE '+str+' '
+
'OR allStations.aFixed LIKE '+str+' '
+
'OR allStations.aInfo LIKE '+str+' '
+
'OR language.lName LIKE '+str+' '
+
'OR category.cName LIKE '+str+') ORDER BY allStations.aName ASC'); <- hier muss wohl die Where-Bedingung "WHERE allStations.aFavorite=1" hin, aber wie?
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
  Mit Zitat antworten Zitat