Migrating from vb to delphi II
Posted on 1999-06-25
I need to know how to do some thing in delphi in comparison to what i do in vb.
1. I still can´t use msaccess tables in delphi i do thge fallowing with dbtable1 at design time:
databasename --> c:\test
tablename --> DB1.MDB
IT GIVES ME INVALID OR CORRUPT HEADER, BUT THIS DATABASE WORKS FINE WITH VB.
2. in vb i use the combobox proprety text to store the name, the index to store the position and the itemdata to store anything that i think useful(normaly i store there the id of the field). I can i do this in delphi???
3. I have a procedure in vb to do this:
call load_text(table as string, field as string)
sql="select " & field & "from " & table
sql=sql & " where id=" & text1.text
I'M GIVING A 50 POINTS SPEED BONUS
THANKS IN ADVANCE