First i think you must allocate some memory from the heap!
(remeber new operator?), becose your pointer is null.
Then try something:(It works on my computer).
struct variables{
char **name;
}var[50];
*(var[0].name[0])='1';
Good luck !
cliff
Thanks hnd & FredrikE ! I am new to the TQuery so every answer is a potential aplication! Thanks! i think i will work with the second method, because the data manipulation is made inside..
Sincerely,
cliff.
I want to set position on X,Y after i click the right button... in TRichEdit. All i can is to get the X,Y of the click but i cant put the cursor on it..!
Please Urgent!
clifff
Thanks ! If i use TDBgrid ,after a call to
Query1->SQL->Add("SELECT * FROM ....");
Query1->ExecSQL();
Will i have the result data in the Grid?
Will i have the results in the call to
A=Query1->FieldByName("Fieldname")->AsFloat..
??Still confused but hopefully i will...
Hi! I use a TQuery to access a Paradox table. I want to perform a LIKE statement on table, From the help I saw:
Query1->SQL->Add("SELECT * FROM ....");
Query1->ExecSQL();
But how to get the results?
Didnt find anything from TQuery methods to get the data!!?
Anyone help...!
clifff
I've tried it DOESNT work! I said that it contains some null characters.
I made a ShowMessage(Memo1->Text); it showed an empty box, even if i didnt edit in the memo...
Any ideas?
How to make a window with minimize /maximize buttons deactivated. I want my window to be of fixed width & height.
Any ideas?
(Searched in the Fotm proprieties but nothing close to it)
cliff
How can i exit from function and to continue running the programm?
ex:
function(){
line1;
line2;
if(..){
line n;
line n+1;
//I want to break here !!!
}else{..}
line k; //I want to continue from this line!
I tried exit but this stops the whole program. I tried break but i...
Ok, but how do i make them to look gray when disable? Becose the ->Enabled property for edit boxes make that just non-editable! Are there any other property?
Thanx for Your help!
Hi 2ffatt and others! I want to make a panel(TGroutBox) to be desabled (showing all the buttons on it but grey colored)and after a click to enable it. All i found is TGroupBox->Enabled property that desable editing in the edits on the panel. But i want that mistery grey color to be on disabled...
I am stuck with that crazy variant type that came from Delphy.
here is a simple ex. from help:
<ex>
int C;
AnsiString A;
Variant V;
V = Table1->Lookup("Company;State",
VarArrayOf(OPENARRAY(Variant, ("Blue Sports","OR"))),
"CustNo;Addr1");
if...
I 've red in the samples that TDBCtrlGrid can contain a different view of the database...I saw in the samples that each field of the database is represented by a control.(edit box,check box ...) It is said also that for each control must be Set the DataField property for each data control to...
Hello programmers! How can i create tables in Builder with indexed columns. If a row from a table is changed the indexed column fom the other tables could be changed automatically.I suppose i am clear but anyway ask details if you need. Thanks a lot for this forum so i can exist in Computer...
HI! I made an easy program in Builder and took it home at my computer. But i cant start the program becose it need kind of library that i cant remember. Ok suppose i check again and find this library and a resolve the problem. But do i need to make anything more? How much portable are Builder...
Hi everybody! I am new to the C++ Builder & teck tips forum. I have to design a database project (standalone application). Where to start ? I found soemething about BDE relation between TDataSet, TDataSource, Data controls but how to make all this staff to work I dont know... Can anyone help...
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.