Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caption from the table.. 1

Status
Not open for further replies.

Brezhnev

Programmer
Sep 25, 2002
53
0
0
CA
Hi all!
I have a little question.I am working on Audit report ... so i record changes in one table into the other.So for ex. you changed employee name , so i am storing field name(EMPNAME) and changes.But on the report I would like to show "Employee Name" .. so I found table property Caption and trying to use it . Some problems with the syntax :(
Can anybody point me out how to access property programatically ?

thank you
 
HI

If the table belongs to DBC, then you can use the fields caption you have set.
This can be obtained as..

myCaption =
DBGETPROP(cTable+"."+lcField,"FIELD","CAPTION"))
OR
myCaption = DBGETPROP(fieldName,"FIELD","CAPTION")

:)

ramani :)
(Subramanian.G)
 
HI

If the table belongs to DBC, then you can use the fields caption you have set.
This can be obtained as..

myCaption =
DBGETPROP(cTable+"."+lcField,"FIELD","CAPTION"))
OR
myCaption = DBGETPROP(cFieldName,"FIELD","CAPTION")

:)

ramani :)
(Subramanian.G)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top