>>I double click on the TTable component and add all the fields into the 
>>component.

You need to double click again and check the list of Fields; 
I think the MyField3 is still there in the list of fileds of TTable component
If you remove that (right click ->delete) and try again will work fine.


Regards,
Rams.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of soonhuat 
ong
Sent: Tuesday, June 07, 2005 6:45 AM
To: [email protected]
Subject: [delphi-en] Alias Problem

I have :
1) A Database call MyDB1 - Alias set as MyAlias1. 
2) A Table call MyTable1 with 3 fields - Myfield1, Myfield2, Myfield3
 
Then i drop a BDE Component(TTable) on my form and set its property as 
following:
 
DatabaseName: MyAlias1
TableName : MyTable1
Active : True
 
I double click on the TTable component and add all the fields into the 
component. It works fine. 
After that, i found that MyField3 in MyTable1 is not neccessary, therefore i 
change my Database structure to delete that field and save it. Then i repeat 
the same step as following:
Drop a BDE Component(TTable) on my form again and set its property as following:
 
DatabaseName: MyAlias1
TableName : MyTable1
Active : True
 
The time when i set the Active property to true, a message "General SQL Error, 
Column unknown MyField3. 
Anyone know what's going on here ? IS that mean i need use other Alias Name 
instead the old one ?
 
Thanks in advance

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links



 






-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to