Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 22 of 22
Search took 0.09 seconds.
Search: Posts Made By: Moondancer
Forum: VCL 07-29-2011, 12:16 AM
Replies: 6
Views: 4,973
Posted By Moondancer
You are right ... it might just be better to just...

You are right ... it might just be better to just create files and leave loading/saving to some other control...
Forum: VCL 07-28-2011, 01:35 PM
Replies: 6
Views: 4,973
Posted By Moondancer
I am sure I am messing something up but cant...

I am sure I am messing something up but cant figure out what ...
I was doing this:

procedure TForm1.FormCreate(Sender: TObject);
Var
I,j:Integer;
ApplicationPath: string;
List:TStrings;...
Forum: VCL 07-28-2011, 04:16 AM
Replies: 6
Views: 4,973
Posted By Moondancer
stringgrid - load to and from

I am trying to load my stringgrid from a text file.However,I must check if file exists first. If it does not, then create it (the file) and then try once more to load the stringgrid from that file....
Forum: VCL 07-24-2011, 02:48 AM
Replies: 6
Views: 3,910
Posted By Moondancer
There are two typos over there ....first its...

There are two typos over there ....first its stringgrid2 and not 1
and second you need ; and not :
Forum: VCL 07-01-2011, 04:40 AM
Replies: 0
Views: 2,260
Posted By Moondancer
StringGrid load dates in column headers

I have 8 columns in my string grid.
First column (0,0) is blank.Not used actually...
I would like to load into next 7 columns dates (type : 01.07.2011) in sequence.For starting date I would use...
Forum: DB-Aware 06-10-2011, 03:11 AM
Replies: 2
Views: 3,385
Posted By Moondancer
SELECT * FROM [database 1].[dbo].[table 1] UNION...

SELECT * FROM [database 1].[dbo].[table 1] UNION SELECT * FROM [database 2].[dbo].[table 1]
Forum: DB-Aware 06-10-2011, 03:07 AM
Replies: 2
Views: 3,385
Posted By Moondancer
For 2 databases you need 2 connection strings.

For 2 databases you need 2 connection strings.
Forum: DB-Aware 06-08-2011, 03:24 AM
Replies: 4
Views: 3,556
Posted By Moondancer
I tried : 'SELECT * FROM ROOM_PRICES where...

I tried :
'SELECT * FROM ROOM_PRICES where ROOM_TYPE = :a1
AND PRICE BETWEEN :a2 AND :a3'

ABSQuery1.Params.ParamByName('a1').Value := cxTextEdit1.Text;
ABSQuery1.Params.ParamByName('a2').Value...
Forum: DB-Aware 06-08-2011, 02:22 AM
Replies: 4
Views: 3,556
Posted By Moondancer
DATE BETWEEN Queery

My table has these values :

ROOM_TYPE (string)
START_DATE (datetime)
END_DATE (datetime)
PRICE (currency)

I am trying to run a queery against this table that will get me the right PRICE...
Forum: General 05-22-2011, 04:17 AM
Replies: 5
Views: 3,221
Posted By Moondancer
I have a hunch this has something to do with...

I have a hunch this has something to do with unicode.
I had to reinstall windows to get rid of this...
But,after some time it was back again...This time (prior) I enabled system restore so it saved...
Forum: VCL 05-18-2011, 02:22 PM
Replies: 6
[SOLVED] Load from memo
Views: 2,926
Posted By Moondancer
Mind giving me an example ? I am just a...

Mind giving me an example ?
I am just a beginner ....
Forum: VCL 05-18-2011, 10:20 AM
Replies: 6
[SOLVED] Load from memo
Views: 2,926
Posted By Moondancer
tried s.loadfromfile('C:\myfile.txt'); ...

tried
s.loadfromfile('C:\myfile.txt');

but it wont load... :confused:
Forum: VCL 05-18-2011, 08:00 AM
Replies: 6
[SOLVED] Load from memo
Views: 2,926
Posted By Moondancer
Load from memo

I have this (works ok).

procedure TForm1.Button1Click(Sender: TObject);
var
s: TStringlist;
i: integer;
begin
s:=NIL;
try
s:=Tstringlist.Create;
Forum: DB-Aware 05-16-2011, 10:31 PM
Replies: 6
Views: 3,510
Posted By Moondancer
Using a button or editing in grid are 2 different...

Using a button or editing in grid are 2 different things.
In grid, while editing, calling 'abort' would freeze editing entirely.
(I would have to use the navigators 'cancel' button to unlock
the...
Forum: DB-Aware 05-16-2011, 01:25 AM
Replies: 6
Views: 3,510
Posted By Moondancer
I am editing inside the grid.So this is on the...

I am editing inside the grid.So this is on the fly...
I want to alert before post that one value is higher than the other and that can not be.
Forum: DB-Aware 05-14-2011, 11:04 PM
Replies: 6
Views: 3,510
Posted By Moondancer
Abort/Cancel illegal operation in grid

I have a strange issue...I am editing data in grid,before post I trigger:
If onefield.value > anotherfield.value then showmessage
I want to show the message and then abort the current operation....
Forum: VCL 05-12-2011, 12:14 AM
Replies: 2
Views: 2,837
Posted By Moondancer
I was using cxGroupBox...it has no items...

I was using cxGroupBox...it has no items property...
Do you know perhaps how it goes for cxGroupBox ?
Thank you !
Forum: General 05-10-2011, 10:54 PM
Replies: 5
Views: 3,221
Posted By Moondancer
Nothing works .... Cant write shit if I cant...

Nothing works ....
Cant write shit if I cant insert a new line...
I think I will go back to D7...
Forum: VCL 05-10-2011, 10:30 PM
Replies: 2
Views: 2,837
Posted By Moondancer
Insert radiogroup caption (easy)

I have a radiogroup with 2 items inside.
I would like to insert the selected radiogroup item caption in my database.
?
Forum: DB-Aware 04-29-2011, 07:46 AM
Replies: 3
Views: 2,748
Posted By Moondancer
Not what I had in mind... Just a memo and...

Not what I had in mind...
Just a memo and datetimepicker so when I write in memo under certain date it gets saved in the DB. Or when I hit date I get what was entered on that date in the DB
Forum: General 04-29-2011, 07:44 AM
Replies: 5
Views: 3,221
Posted By Moondancer
Delphi XE Ide

I do not know what I pressed but now when I hit 'ENTER' it does add empty space between the lines of code.it just keeps going downwards skipping everything.... Any IDEa?
Forum: DB-Aware 04-11-2011, 09:38 PM
Replies: 3
Views: 2,748
Posted By Moondancer
browse table

Just learning ...
My table has only 2 fields: Date and Memo.
Now,I dropped DateTimePicker and a memo on a form.
What I would like to do is to have memo display data depending on
datetimepicker...
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.