NewbieHere Posted March 27, 2005 Posted March 27, 2005 Hello all I have two fields Customer_::Phone AND Invoice_Old:: Phone. What i'm looking for is a copy and paste script. Copy everything from field Customer_::Phone and paste it into Invoice_Old:: Phone. There are no portals. I'm sure this is simple but for some strange reason I'm having a great deal of difficulty. Thanxs
MoonShadow Posted March 27, 2005 Posted March 27, 2005 It would be easiest to let the relationship between Customer and Invoices handle this for you. I assume they are related on the CustomerID? If so, add an Auto-Enter via Lookup to your Invoice_Old::Phone, selecting your Customer_::Phone. If you need to pre-fill existing records, you can loop script it or use Replace Contents. Is this a one-time thing or a recurring process? And please delete your duplicate post in vs. 5/6. Not only is a duplicate post unnecessary but the other one is in the wrong section since you've indicated you are using vs. 7.
Søren Dyhr Posted March 28, 2005 Posted March 28, 2005 Moonshadow didn't touch the dodgyness with copy and paste in this context. Thou must never ever touch what the user might have in his/her clipboard - use Set Field, autoenters, references over the relationships according to your needs. The clipboard is only ment for interapplicational maneuvers - not filemaker/filemaker stuff, say the clipboard contains a unique occurence of a holiday picture or soundclip.... --sd
Recommended Posts
This topic is 7183 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now