FieldByRealName
From: Sergey Amanov (a_at_a.com)
Date: 01/24/05
- Next message: Sergey Amanov: "Re: FieldByRealName"
- Previous message: Ray Marron: "Re: FieldByRealName"
- Next in thread: Ray Marron: "Re: FieldByRealName"
- Reply: Ray Marron: "Re: FieldByRealName"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Jan 2005 16:23:23 +0200
Hi,
Is there any way to call field REAL name when using alias?
Ex:
ADOQuery1.Sql.Text := 'SELECT REAL_FIELD_NAME ''FIELD_ALIAS_NAME'' FROM
TABLE_NAME';
ADOQuery1.Open;
ADOQuery1.FieldByName('FIELD_ALIAS_NAME').AsString; //no error
ADOQuery1.FieldByName('REAL_FIELD_NAME).AsString; //run time error but I
want to call this
- Next message: Sergey Amanov: "Re: FieldByRealName"
- Previous message: Ray Marron: "Re: FieldByRealName"
- Next in thread: Ray Marron: "Re: FieldByRealName"
- Reply: Ray Marron: "Re: FieldByRealName"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]