kako bi naprimjer sa SQL mogao da rijeshim problem.
Imam dvije tabele master i detail spojene preko ID
U master imam polja : ID(Int),Artikao(Str),Broj(Int)
U detail imam polja : ID(Int),Komponenta(Str),BrojPo1Artiklu(Int)
Artikao i Broj artikla u master a u detail ime komponente i broj po 1 artiklu tog artikla.
U DBGridu detaila sam napravio i novo polje koje skalkulira broj poterebnih komponenti Artikla (Broj*BrojPo1Artiklu) trenutnog artikla.
a sad bi recimo u TextBox-u htio da mi iskalkulira celokupan broj trenutne aktivne komponente uvazeci i broj Artikla te komponente po cjeloj detail tabeli, kako bi to mogao da preko SQL-a izvedem ?
vec unaprijed hvala ...
Pozdrav StratOS
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"As a rule, software systems do not work well until they have been used, and have failed repeatedly, in real applications."
"The one who is digging the hole for the other to fall in is allready in it."
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"As a rule, software systems do not work well until they have been used, and have failed repeatedly, in real applications."
"The one who is digging the hole for the other to fall in is allready in it."