Daniel Kram
Real Name: |
Daniel Kram
|
Primary Role: |
Coder |
Joined: |
Oct 2008 (16 years ago) |
Visits: | 61 |
|
|
|
Message Boards Activity25 posts. |
|
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.
|
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!} |
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.
|
| 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!} 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;
|
|
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;
|
| Pascal and Delphi Coding | |
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.
(4 Comments
, last by Kathleen.B4 )
|
Article
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.
(1 Comments
, last by Uwais.Q )
|
Tip
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.
16 years ago, and updated 15 years ago
(1 Comments
, last by david_chesnet )
|
KB Post
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.
16 years ago, and updated 14 years ago
(7 Comments
, last by Earlina.m )
|
Tip
14885 Hits
|
Pascal and Delphi Coding
|
KB Comments |
|
|
Saw this for the first time a few years ago in a Jimmy John's
Regarding...
Scrambled Text
Apparently if the first and last letters are correct, the rest don't matter.
|
|
|
|
Oh, I have never been down this path before.
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.
|
|
|
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.
|
|
|
|
|
|