Is it true that Web Apps (Dynamic PHP, even) can do more visually appealing things than Delphi traditional apps (i.e. apps for Windows using Delphi)? I saw this one appication software, which might not have been written in Delphi specifically, but I believe it used a web browser component and it...
I just stumbled across ths website, while searching. This website is great at explaining it in detail: 'http://www.ayton.id.au/gary/it/Delphi/D_Valid1.htm'
I have alot of required fields in my tables. How does one make field required in Delphi. Is it my understanding that you can do this both on the database end(MySQL) and on the client(Delphi 2007)? Thanks for any suggestions.
Thanks for the input. That sounds like a good idea. Is there a tutorial on it or a snippet of code you could reference? The reason why I want to use DBNavigator is os I don't have to assign variables to each database name for developer reading purposes. But, DBEdit can directly manipulate data...
I was wondering if there was a way to use DBEdit to insert data without using the DBNavigator component. This end-user will be confused with all these components that comes with DBNavigator. However, I haven't found a way to edit the data in a DBEdit box, without the DBNavigator control. Any...
I just found out if you double click on the query component or table component inside the structure pallete, it gives you this functionality. So, perhaps I will now stick with MyDAC. It's working well now.
I'm really battling using dbExpress over MyDAC for MySQL. The reason I chose MyDAC is that is rated number one on list in the 'about.com' tutorials, 'http://delphi.about.com/od/mysql/tp/aatpmysql.htm'. My problem is that I like the build in validation the dbExpress uses. That's such a great...
I could probably agree the more experience I have with database programming. I've read online somewhere that SQL statements are used mainly for reporting purposes. Does this imply that other methods 'should' be used for non reporting purposes? Thanks for the reply! ;)
I'm sorry. I implied only to validate the information that goes on a form. This form has a 'Submit' button that will insert a lot of infomation in two tables that I have created. I've already constrained the database fields on the database end (such as shortening the length on the fields to not...
I am storing data in a MySQL Server and want to be able to constrain and validate the data. What is the easiest method to accomplish this in Delphi 2007? Thanks for your time.
P.S. Preferrably if there is a way to do it with MyDAC / MDAC components, feel free to explain. ;)
I found another resource for 'Object Pascal' and specifically 'Date and Time functions' at the following website: 'http://delphi.about.com/od/beginners/l/blrtldatetime.htm'
Right. I found out if I enclosed inside tne whole InsertRecord() with braces, it worked. Apparently, it was looking at the whole function as an array(of string data type, in this case). Thanks for the additional insight, though. I found the answer prior through a google search for constant...
'http://www.delphibasics.co.uk/Article.asp?Name=Dates' is a great resource I used to understand the Date and Time functions better, which also explains basic 'Object Pascal' in greater detail, using helpful examples. Please note this directs you to the "Date and Time" page. You can find the...
I am presently trying out the MyDac Demo component for MySQL, using Delphi 2007 for Win32. I am told it has similar functionality to the ADO components. However, I am having problems inserting records into a table with it. Here is what I used to insert the record...
The problem I was having is that I didn't know how to convert a Date Property from a DateTimePicker component down to the weekday(i.e. Sunday, Monday, etc.), day, month, and year. I should have intended to indicate that this will eventually go to a database, but I figured out how to convert them...
Thanks for the reply. Yes, before this I discovered (delphibasics.co.uk/RTL.asp?Name=DayOfTheWeek) to be a good resource for DateTime functions as well. Actually, I came across another problem. Here the sample output of the code(sorry, I don't know how to paste a block of code (such as <b> </b>...
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.