Citat:
Makojdis:
imam SQL upit:
select *
from tabela
where ime =: ime
Ne treba ti razmak izmedju : i ime, ako nesto hoces da oznacis kao parametar uz njega stavljas :, znaci ispravno je
select *
from tabela
where ime ime=:ime
Vodi racuna o malim i velikim slovima, tj. mozes da koristis f-iju UPPER cini mi se.
Citat:
if Query1.ParamsByName('ime')=edit1.text then query1.open;
i sve to lepo prodje samo sto mi ne da nikakve rezultate.... u cemu je problem????
Ovo definitivno ne valja, treba:
Query1.ParamByName('ime').AsString:= edit1.text;
Query1.Open;
Pozdrav
"The most likely way for the world to be destroyed, most experts agree, is by
accident. That's where we come in; we're computer professionals. We cause
accidents." - Nathaniel Borenstein