Hi ive got a for that searches a access databse using ado
anyways on the for ive created a calculate button that calculates several database fields like forinstance
if gender = male then salalry = somegivenvalue now when the statement actualy compiles it doesnt set that database field to what I want it , it doesnt change the value of the field value1 which is a dbedit and the calculate buttons programing is a onclick event. what statements do I have to use for this to work does the gender thing have to be a string and how do I specify this string? as youve noticed im new to delphi
Thanx
Quinton
anyways on the for ive created a calculate button that calculates several database fields like forinstance
if gender = male then salalry = somegivenvalue now when the statement actualy compiles it doesnt set that database field to what I want it , it doesnt change the value of the field value1 which is a dbedit and the calculate buttons programing is a onclick event. what statements do I have to use for this to work does the gender thing have to be a string and how do I specify this string? as youve noticed im new to delphi
Thanx
Quinton