PC Review


Reply
Thread Tools Rate Thread

Updating "Default Value" attribute to table in external database

 
 
Rod
Guest
Posts: n/a
 
      3rd Aug 2003
Help! I'm able to add a field to a table in an external
database by executing the following code...

Function fncCreateDatUpdate()
Dim db As Database
Dim tdf As TableDef

Set db = DBEngine.OpenDatabase("c:\lacc\smpdata.mdb")
Set tdf = db.TableDefs("tblDonorChild")
Set fld = tdf.CreateField("datUpdated", dbDate)
tdf.Fields.Append fld

How do I modify the "default value" of a date field in a
table that is in an external database?

Thanks for your help... Rod
 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      4th Aug 2003
Or, read the other respondent, who has the right answer!

(oops)
TC

"TC" <(E-Mail Removed)> wrote in message news:1059974332.721198@teuthos...
> I *think* (but I don't have Access here to check) that the default value

of
> a field is implemented as (snip)



 
Reply With Quote
 
Tim Ferguson
Guest
Posts: n/a
 
      4th Aug 2003
"TC" <(E-Mail Removed)> wrote in news:1059974419.218062@teuthos:

>
> (oops)
> TC
>


<g>



Tim F


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Date Accessed" attribute not updating bob w Windows Vista File Management 1 13th Jan 2008 08:15 PM
Oracle database demands SELECT "column1" FROM "table" syntax Torgeir Microsoft ADO .NET 1 28th Feb 2007 09:56 AM
"System.Web.HttpException: External component has thrown an exception" if OnSortCommand attribute is present in a datagrid control JT Microsoft ASP .NET 0 10th Nov 2006 07:07 AM
How to insert the "modified time" attribute in "date taken" attribute in batch mode-in vista or theough a software? paltry Windows Vista File Management 0 8th Nov 2006 10:06 PM
updating a "sub" table from a "main" form PHIL Microsoft Access Reports 0 29th Jul 2004 01:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:01 PM.