Hi Bryan,
> struct Table
> {
> char Title[30];
> char SubTitle[35];
> char Info1[40];
> char Info2[40];
> };
>
> Then.....
>
> Table.Title=Edit1->Text; (this
line does not work )
> (neither does using strcpy)
You have not declared your variable. What you have done using struct is to
define the nature of the structure 'Table'. You then need to declare a
different identifier as type struct Table eg:
struct Table{
[...]
};
then...
struct Table table;
then...
table.Title = Edit1->Text;
This quite confusing I know but hopefully you will understand what I mean.
John.
--- JetMail 0.99beta23
---------------
* Origin: The Dysfunctional Refrigerator (fidonet 2:2502/60)
|