Default value

torquay

Registered User.
Local time
Today, 17:10
Joined
Dec 27, 2005
Messages
85
I would be grateful for some help on a default value in a table.
I use an empty table with a couple of fields with default values in i.e.
category: (default value is) Home,
image url: (default value is) www.domainname.com/images/
I then append a query to this table which will then be exported out of access and used to update an my online shop.

Problem I have is of course when I append to the table the default values are overwritten by the new data. Is there a way I can keep the default value and have whatever I am appending added to the end i.e

Catagory: Home,Chairs
Image URL: www.domainname.com/images/654284.jpg

Thanks
Kim
 
Rather that rely on the default values of your table, which you have noticed get overwritten by the Append query. You should be able to Concatenate your static values to the information being picked up by your query, and append the result into your Table.
 
Thank you for your speedy reply.
Can you guide me to an example of how this maybe done?
 
Something along the lines of;

attachment.php
 

Attachments

  • Capture2.JPG
    Capture2.JPG
    49.2 KB · Views: 240
Worked a treat on the first field, but on this field

Picture: "http://www.domainname.com.com/" & [Picture.FileName]

I am getting error Invalid bracketing of name [Picture.Filename]

Thanks
Kim
 
Try;
Code:
Picture: "http://www.domainname.com.com/" & [Picture].[FileName]
 
FANTASTIC.....worked a charm
Thank you very much for your help
Kim
 

Users who are viewing this thread

Back
Top Bottom