PC Review


Reply
Thread Tools Rate Thread

Data Defnition Query

 
 
comfrey
Guest
Posts: n/a
 
      4th May 2010
I have an external table that I use to append a resident table. The external
table has hyperlinks in a Memo Field. I want to change the memo field to
hyperlink formatting. Doing so manually requires toggling back and forth
between memo and hyperlink after each append. The Data Definition Query does
not work for hyperlink. VB code might work? Don't know the code. What code
might make this work? I'm using Access 2007.
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      5th May 2010
JET DDL is not powerful enough to be really useful.

A Hyperlink field is actually a Memo with attributes set. You need to use
DAO to set those attributes.

Here's a field type reference, comparing the field names in the interface
with DDL, DAO, and ADOX:
http://allenbrowne.com/ser-49.html
Footnote 9 addresses your question.

For an example of creating fields in DAO, see:
http://allenbrowne.com/func-DAO.html
The CreateTableDAO() function gives a hyperlink example.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"comfrey" <(E-Mail Removed)> wrote in message
news:5EFA346D-3454-4E05-BF7B-(E-Mail Removed)...
> I have an external table that I use to append a resident table. The
> external
> table has hyperlinks in a Memo Field. I want to change the memo field to
> hyperlink formatting. Doing so manually requires toggling back and forth
> between memo and hyperlink after each append. The Data Definition Query
> does
> not work for hyperlink. VB code might work? Don't know the code. What
> code
> might make this work? I'm using Access 2007.


 
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
scrren tip defnition in 2007 version mcjenkins Microsoft Word New Users 1 28th Aug 2009 03:15 AM
Data Type mismatch in a query that uses a calculated field from another query John T Ingato Microsoft Access Queries 4 13th Dec 2006 04:51 AM
Give the defnition of the office on the web? =?Utf-8?B?dmlub2RfcmFpbmFAbWljcm9zb2Z0LmNvbQ==?= Microsoft Access 2 11th Mar 2006 04:57 PM
Trying to query the Address table data of AdventureWorks database from Query Analyzer - need help! Learner Microsoft ASP .NET 1 30th Jan 2006 08:58 PM
Linking problem - Access query to MS query to extract data to Exce =?Utf-8?B?RmF0TWFu?= Microsoft Access Queries 0 23rd Nov 2004 06:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:20 AM.