Hi
my table has a column named [sell_price] i show all the records in dbgrid using adotable and a datasource
i want to show the sum of sell_price column in the bottom of dbgrid using a lable !
i wanted to use fkaggregate field (s a new field for my adotable) and set it's expression to...
ok !
i knew that it is strange to insert a row in middle of a table and it seems , i was right !
The Table Has 4 Columns and is in a relation with another table (it's id field)
it is a table about metals athat holds the name and description of any metal ! and is in relation with an archive...
Hi
You Are Absolutly Right !
But My Employer Says "The Table Has No Order Field (Index) And I Want To Place Records in The Place i want" , Then i have two ways :
1.find a way to the record where he wants
2.forget the money i wanted to earn !
my table have an auto increament field , and any...
Hi
i want to insert row in the middle of table , then i set the dbgrid current record to 3 (for examp) and then , a button click do : adotable1.insert . then a new record insert abow of active record ! i fill it and press another button that does : adotable1.post ! but it sends the new record...
ok
finaly ! it worked !
gcaramia i found something strange in my code ! i had used aplication.minimize in response to a macromedia flash fscommand ! and it did nothing ! i found it works for a button click or something else ! i dont know what it depends on ! but finaly i made it work ! thanx...
Hi
when i write unicode (widestring) to a text file , it doesnt store as unicode ! i should open notepad and save the file as unicode or utf-8 and it is sooooooooo bad
info :
i just use assignfile and rewrite and writeln functions !
ok , dont u think it depends on operation system ?
i use win 2000 advanced server ! and application.minimize does nothing ! but in win xp it works !!!!!!!!!!!!!!!!!!
what about 9x ?
any idea ?
Hi
i have a bsnone border style window ! when i minimize window with code ! it will be a button near the taskbar and doesnt minimize to taskbar completely !
any idea , how i can minimize it completely ?
Hi
i used setthreadlocale() to change locale of my application thread ! it executes and returns success ! but locale is also set to default system locale !
i use windows 2000 advanced server , anybody knows why setthreadlocale doesnt work ?
i red microsoft changed the way for setting thread...
Hi
i need to make dbctrlgrid transparent or a picture for it's background ! but it seems no canvas it has ! , if you suggest another control ! it may be helpfull !
any idea ?
chiph i used it , it is wrong too ! the universal time for me is GMT + 4 : 30 in asp but in my computer timezone , it is GMT + 3 : 30 ! then one hour is missed !
Hi
i want to get utc time , then i use :
Dim myzone as timezone = timezone.currenttimezone
response.write(myzone.ToUniversalTime(now))
but it shows 1 hour lower than exact UTC time , i checked my windows time zone and found it correct [GMT + 3 : 30]
then i checked this ...
kemp , this is the code and the error :
procedure itChanged(Sender: TObject);
begin
showmessage('yes');
end;
procedure TForm1.Button1Click(Sender: TObject);
var
mycbox : TCombobox;
begin
mycbox := tcombobox.Create(self);
mycbox.Parent := form1 ;
mycbox.OnChange := itChanged;
end;
[Error]...
Hi
i want to create an TCombobox in runtime and make onChange event to call a function !
it seems i can not use : comboboxname.onChange := a function , it is wierd (cause onChange is a TNotifyEvent ! then how i can do this ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.