Results 1 to 4 of 4
July 29th, 2004, 05:51 PM #1
I want to use the same field twice in two different fields in my database.
I want to use it as it comes in one field then I want to make a small alteration to it in the 2nd field can anyone tell me how to get it to repeat itself? I can do the alterations but for some reason I cannot get the original field to duplicate itself.
Thanks in advance
July 29th, 2004, 06:55 PM #2
Can you name the same field to two different variables and do what you want with the second?
July 29th, 2004, 07:01 PM #3
Well, if you want to have the second field in the database, you should be able to do add the second column and do something like this:
update tablename set newfield = oldfield;
On the other hand, if it is easily generatable from the initial field, you might want to avoid having it in the database at all (to eliminate any update hazards).
-John.There's a reason army's wear uniforms even though it makes them easier to spot. Sometimes that's what you want. Uniforms suggest organization, power, and numbers. These, in turn, inspire fear. And, as any good operative knows, there is no more effective weapon than fear.
Hosting Comparison - HostScope - jrrl.com
July 29th, 2004, 09:55 PM #4
Thanks for your answers guys, it must have been a problem with my server, I re-uploaded the feed again and the extra field worked.
Thanks for your help it is very much apreciated
By teezone in forum Programming / Datafeeds / ToolsReplies: 8Last Post: September 4th, 2009, 04:54 PM
By Derrick Kinsey in forum Programming / Datafeeds / ToolsReplies: 4Last Post: March 22nd, 2007, 07:23 PM
By zimmy in forum Programming / Datafeeds / ToolsReplies: 7Last Post: September 16th, 2006, 10:26 PM
By mopek in forum Programming / Datafeeds / ToolsReplies: 4Last Post: August 23rd, 2006, 04:51 PM
By Doug247 in forum Programming / Datafeeds / ToolsReplies: 1Last Post: March 31st, 2004, 10:20 AM