kornalius
10-11-2006, 01:22 AM
Before the end of the year (meaning version 1.1 or 1.2) PPL will have a very simple SQLite database libray that will allow you to write fast and easy-to-code database programs.</p>
The SQDB library will have simplified functions to help simplify writing database programs. We will try to follow Delphi's BDE function style, like:</p><pre>db$ = DB_Open (filename$);
DB_Append(db$);
DB_Set(db$, "FieldName1", "Value1");
DB_Set(db$, "FieldName2", "Value2");
DB_Post(db$);
if (DB_Locate(db$, "FieldName1", "Value"))
* DB_Delete(db$);
end;
DB_First(db$);
while (not DB_Eof(db$))
* ShowMessage(DB_Get(db$, "FieldName1") + "," + DB_Get(db$, "FieldName2"));
* DB_Next(db$);
end;
DB_Close (db$);
</pre>
This is what we are looking into doing right now. Expect this new library to be ready soon.</p>
We hope you will like to get simple Database in PPL. If you guys have any suggestions or comments, it is time now before we start active development.</p>
The SQDB library will have simplified functions to help simplify writing database programs. We will try to follow Delphi's BDE function style, like:</p><pre>db$ = DB_Open (filename$);
DB_Append(db$);
DB_Set(db$, "FieldName1", "Value1");
DB_Set(db$, "FieldName2", "Value2");
DB_Post(db$);
if (DB_Locate(db$, "FieldName1", "Value"))
* DB_Delete(db$);
end;
DB_First(db$);
while (not DB_Eof(db$))
* ShowMessage(DB_Get(db$, "FieldName1") + "," + DB_Get(db$, "FieldName2"));
* DB_Next(db$);
end;
DB_Close (db$);
</pre>
This is what we are looking into doing right now. Expect this new library to be ready soon.</p>
We hope you will like to get simple Database in PPL. If you guys have any suggestions or comments, it is time now before we start active development.</p>