IT SOLUTIONS
Your full service technology partner! 
Daniel Kram -Collapse +Expand
-Collapse +Expand
rdkram
-Collapse +Expand Profile◄╣
Member Info
Member Narration

POSTS:
MB Posts (25)
KB Posts (4)
KB Comments (11)

KBPOSTSBYTYPE:
Tech Articles

Search rdkram:

Advanced
Personal Account . . .
Daniel Kram
-- UNK



Real Name:  Daniel Kram
Primary Role:  Coder
Joined: Oct 2008 (16 years ago)
Visits: 61

Message Boards Activity

25 posts.
More...

Thread 6 of 6
Thread Starter or a Reply (but not last)  Group

Daniel Kram
Existing Member Intro
I found Prestwood several years ago but I never introduced myself. My name is Daniel and I've been coding in Delphi on and off, but mostly on, since 1997. At the time, COBOL and BASIC was what I was coding in a client-server environment, before most people even knew what nTier architecture meant. Heck I didn't know, but was doing it. Someone in another department came up to me, presumably after seeking permission from my manager, and asked if I knew Delphi. I said, knew what? Having never heard of Delphi I said no, but was anxious to do something new, so I was transferred to the other department. I didn't what the future was for Delphi and it wasn't to be a .Net, however, Delphi has found me and paid me well over the past decade point five. Take care and talk to you later.
12 years ago

Wes
{Too Long!}
12 years ago
Nothing New Since Your Last Visit
3594
Hits

PrestwoodBoards

Thread 5 of 6
Thread Starter or a Reply (but not last)  Group

Daniel Kram
Point-Of-Sale (POS) Screen Design
{Too Long!}
Posted to MB Topic: Delphi VCL « Delphi Board
15 years ago

rdkram
{Too Long!}
13 years ago
Nothing New Since Your Last Visit
14658
Hits

Pascal and Delphi Coding

Thread 4 of 6
Thread Starter or a Reply (but not last)  Group

Daniel Kram
RE: Point-Of-Sale (POS) Screen Des...
Anas: Wes is correct. Moreover, I cannot share code from the application without breaking copyright rules/laws. Yes, I wrote it, but I do not own it, my employer owns the code - not me. Follow what, Wes, indicates and see where it takes you. I do the same thing with languages I learn such as Ruby, or PHP. The other thing you probably need is a solid understanding of database design. if you do not have a DBA, or database administrator, available to you, I would suggest looking at some materials from "In a Nutshell" series about database design. Another idea: Download a POS available for demo purposes and you may be able to see the tables in SQL Server or MySQL and gather some ideas from their structure. It will help in any case with how to organize a good POS system. Finally, this is one of many great sources for Delphi info: http://delphi.about.com/ Stop back if you have specific questions. We are here to help.
Posted to MB Topic: Delphi VCL « Delphi Board
13 years ago
Nothing New Since Your Last Visit
Pascal and Delphi Coding

Thread 2 of 6
Thread Starter or a Reply (but not last)  Group

Ron Roper
How to change sort to descending?
{Too Long!}
Posted to MB Topic: Delphi Single User Apps « Delphi Board
22 years ago

rdkram

If it is an index, then by default it is automatically ascending.

When selecting the data, include a SORT BY clause and then DESC for descending - it is automatically ascending by default. Here is an example:
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB; 
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB DESC;

 

13 years ago
Nothing New Since Your Last Visit
8435
Hits

Pascal and Delphi Coding

Thread 1 of 6
Thread Starter or a Reply (but not last)  Group

Daniel Kram
RE: How to change sort to descendi...

If it is an index, then by default it is automatically ascending.

When selecting the data, include a SORT BY clause and then DESC for descending - it is automatically ascending by default. Here is an example:
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB; 
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB DESC;

 

Posted to MB Topic: Delphi Single User Apps « Delphi Board
13 years ago
Nothing New Since Your Last Visit
Pascal and Delphi Coding
More...



Knowledge Base Posts

  KB Article    

Daniel Kram
1. Modified Preorder Tree Traversal Algorithm I needed a way to show a hierarchical structure. What most were saying, was the, Modified Preorder Tree Traversal Algorithm, was a preferred way of doing hierarchical sets. I thought I would share the code with you.
Posted to KB Topic: Using Data
16 years ago
(4 Comments , last by Kathleen.B4 )

Article
Nothing New Since Your Last Visit
13081
Hits

Pascal and Delphi Coding

Daniel Kram
2. Quoting Your String (QuotedStr and AnsiQuotedStr) When you need to put quotes, single or double, or even another character, around a string there are two methods to lend a hand: QuotedStr and AnsiQuotedStr. QuotedStr will put single (') quotes around your string or variable. The other function you can call is AnsiQuotedStr which adds double quotes.
Posted to KB Topic: Using Data
16 years ago
(1 Comments , last by Uwais.Q )

Tip
Nothing New Since Your Last Visit
26484
Hits

Pascal and Delphi Coding

Daniel Kram
3. Record Keystrokes

You can record a series of keystrokes to be played back for quick changes in code. Use Ctrl+Shift + R to begin recording, Ctrl+Shift+R again to stop the recording, then Ctrl+Shift+P to play recording.

Posted to KB Topic: Tool Basics
16 years ago, and updated 15 years ago
(1 Comments , last by david_chesnet )

KB Post
Nothing New Since Your Last Visit
9847
Hits

Pascal and Delphi Coding

Daniel Kram
4. One Recommended way of writing IF/End IF statements

Format the IF/Endif for easy reading. I have found this to be easy to read and follow:

if (         (something = somethingelse)
      and (x = y)
      and (z = a)
   ) then
begin
..
end;

To indent the structure and line up the parenthesis makes it, I feel, much easier to read.

Posted to KB Topic: Language Basics
16 years ago, and updated 14 years ago
(7 Comments , last by Earlina.m )

Tip
Nothing New Since Your Last Visit
14885
Hits

Pascal and Delphi Coding

KB Comments

More...
Read +Add Comment
Saw this for the first time a few years ago in a Jimmy John's
Posted 13 years ago
Regarding...
Scrambled Text
Apparently if the first and last letters are correct, the rest don't matter.
Read +Add Comment
Oh, I have never been down this path before. {#banghead} Not only will the grunt programmer be pushed to complete it on time and under budget, but they will receive a $25 gift card for a job well done.
Posted 14 years ago
Regarding...
Grunt Programmer to Lead Programmer
We can't do this proposed project.
Read +Add Comment
{Too Long!}
Posted 14 years ago
Regarding...
Delphi Array (x=Array[0..3] of string;)

Languages Focus: Array

A data structure in which individual values (called elements or items) may be located by reference to one or more integer index variables, the number of such indices being the number of dimensions in the array. Arrays can start with an index value of 0 or 1, sometimes referred to as 0 based or 1 based.

Delphi Array

Delphi supports both static and dynamic arrays as well as single and multi dimensional arrays.
More...
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2024 Prestwood IT Solutions.   [Security & Privacy]