Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: Atarimark
Forum: DB-Aware 02-05-2017, 06:51 AM
Replies: 0
Views: 3,527
Posted By Atarimark
Use TDBLookupComboBox to show a DBGrid Row

I have a form with a dbgrid up top and dbedit fields on the bottom and in the middle is a dblookupcombobox tied a field in the dataset.

What I am trying to do is to get the closeup event on the...
Forum: DB Tools 12-29-2016, 12:37 AM
Replies: 4
Views: 3,831
Posted By Atarimark
You sir are a damn hero! I was so hung up on the...

You sir are a damn hero! I was so hung up on the date conversion, I never ever once thought about the basic syntax of the statement. /sigh Thank you!
Forum: DB Tools 12-28-2016, 03:27 AM
Replies: 4
Views: 3,831
Posted By Atarimark
OK, I got that so using the DateToStr with the...

OK, I got that so using the DateToStr with the tdatetime variable, then why does this code:

InvData.Filter := 'DEPART = ' + QuotedStr(DepartmentListBox.Text) + ' NEXTCAL <= ' +...
Forum: General 12-25-2016, 05:50 PM
Replies: 1
Views: 1,705
Posted By Atarimark
Basic question on date formatting

I am trying to figure out why using ThisDate := Now; is returning:

a value of : 42729.4785490394

I know I'm supposed to stay away from FormatSetting.<Anything you type here is a bad idea, it...
Forum: General 12-23-2016, 09:36 PM
Replies: 1
Views: 3,341
Posted By Atarimark
DBGrid and the missing scroll bar

I am using a standard dbgrid with a dataset and when I switch from not filtered to filtered the scroll bar stays there but when I switch back to unfiltered, the scroll bar disappears.

I've tried...
Forum: DB Tools 12-23-2016, 06:50 AM
Replies: 4
Views: 3,831
Posted By Atarimark
Filtering on Date field

I am using XE7 and having a problem with "stack overflow" errors when trying to sort on a date field so I started a new project, put a dbgrid, a navigator, a clientset and datasource, a...
Forum: General 12-20-2016, 02:20 AM
Replies: 2
Views: 1,892
Posted By Atarimark
Well I tried adding the space and got the...

Well I tried adding the space and got the unterminated string error message so I switched to

InvData.Active := False;
InvData.Filtered := False;
Accept :=...
Forum: General 12-17-2016, 07:37 AM
Replies: 2
Views: 1,892
Posted By Atarimark
Filtering Error on Date Field

I am trying to sort a simple cds using a DEPART field (department) picked from a TComboBox and that part works fine, but when I add the code to filter on DEPART AND a date field, I get an error when...
Forum: VCL 06-20-2015, 08:52 PM
Replies: 5
Views: 4,799
Posted By Atarimark
And how does your save look like? I created a...

And how does your save look like? I created a simple dbgrid program and viewed the .cds files and they seem fine.

What I now see is that you close your connection and open a new one, I'm...
Forum: VCL 06-16-2015, 10:49 PM
Replies: 5
Views: 4,799
Posted By Atarimark
I did forget to put the "cdsDistribution.Open;"...

I did forget to put the "cdsDistribution.Open;" in the code I typed here so that was my bad.

I have added the ":= True;" to the code and still have the problem.

I created a new form with a...
Forum: VCL 06-15-2015, 01:15 AM
Replies: 5
Views: 4,799
Posted By Atarimark
DBEdit Field Updating

I'm having some trouble with a form that has DBEdits linked to a generic clientdataset (distribution.cds). In the formcreate section I load a blank database for the distribution cds file as a place...
Forum: General 03-29-2015, 03:27 AM
Replies: 0
Views: 995
Posted By Atarimark
Angry Error when getting an error

When I get an error in Delphi XE 7 starter, I get the standard Debugger Exception Notification box but when I click on the 'break' button, I get a Source File not Found: VcL.Forms.pas box with a...
Forum: General 01-31-2015, 05:05 AM
Replies: 2
Views: 1,361
Posted By Atarimark
Its funny how something so small would adversely...

Its funny how something so small would adversely effect it but I made those changes and sure enough it works like a champ. Thank you for the assistance again! :)
Forum: General 01-31-2015, 02:19 AM
Replies: 2
Views: 1,361
Posted By Atarimark
TDateTimePicker and multiple filters

procedure TMainForm.cdsBillingFilterRecord(DataSet: TDataSet;
var Accept: Boolean);
begin
Accept := (cdsBilling.FieldByName('Number').AsString =...
Forum: General 01-23-2015, 03:29 AM
Replies: 7
Views: 3,392
Posted By Atarimark
Thanks again. I ended up using the top method...

Thanks again. I ended up using the top method with the if statement since it makes more sense to my old, old Atari 800 basic mentality.

Weird thing though I had to add a...
Forum: General 01-22-2015, 12:22 AM
Replies: 7
Views: 3,392
Posted By Atarimark
OK, I added a cdsPlans.Filtered := False to the...

OK, I added a cdsPlans.Filtered := False to the form creation event and that stopped your code from filtering the dataset when the application ran which stopped the problem with the combobox not...
Forum: General 01-21-2015, 02:18 AM
Replies: 7
Views: 3,392
Posted By Atarimark
Thank you for responding. The .filter was the...

Thank you for responding. The .filter was the part of routine to filter the dataset.

cdsPlans.Filtered := False;
cdsPlans.Filter := 'Number = ' + QuotedStr(Combobox1.Text);
cdsPlans.Filtered...
Forum: General 01-18-2015, 06:30 PM
Replies: 7
Views: 3,392
Posted By Atarimark
UnicodeString to Double when Combobox used in QuotedStr

Hello everyone, first off I am new to this and teaching myself to program so bear with me please.

I'm trying to write a small program that has a combobox and a dbgrid below it and the combobox...
Showing results 1 to 18 of 18

 
Forum Jump

All times are GMT. The time now is 08:04 AM.


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