Connecting Tech Pros Worldwide Help | Site Map

Update Caption for Fields using code?

  #1  
Old November 13th, 2006, 07:05 PM
Karl
Guest
 
Posts: n/a
Can you update the caption property for fields in a database using code?



  #2  
Old November 13th, 2006, 07:15 PM
Tom van Stiphout
Guest
 
Posts: n/a

re: Update Caption for Fields using code?


On Mon, 13 Nov 2006 19:23:15 GMT, "Karl" <someone@sbcglobal.biz>
wrote:

You can update any property, so I'm thinking this one as well. Just
note that if a property value is not yet set, the entire property may
not exist, so code like:
currentdb.tabledefs(x).fields(y).properties("Capti on")="test"
may fail with an Object not Found - like error.
Use CreateProperty in those cases.

-Tom.

Quote:
>Can you update the caption property for fields in a database using code?
>
>
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caption property default value Bob Darlington answers 6 December 12th, 2006 03:25 AM
Inserting unicode characters into a database using RecordSet.Update Roger Withnell answers 10 April 7th, 2006 05:05 PM
Setting field properties in code Dixie answers 18 November 13th, 2005 02:30 PM
Access expoert reports to PDF using PDF writer 6.0 issues Grasshopper answers 11 November 13th, 2005 07:08 AM