From john.convey at sci-do.co.uk Thu Nov 8 11:17:40 2007 From: john.convey at sci-do.co.uk (john convey) Date: Thu, 8 Nov 2007 11:17:40 +0000 Subject: [4DLUG] [off] PC World - Message-ID: <7A969C0D-BF60-48C7-B61C-83FAF5B4942E@sci-do.co.uk> I know it is not Friday but i couldn't resist..... Dave Goodman, who bought the purportedly sturdy bag in a PC World store, one of the shoulder straps snapped when he was returnbiz trip in Lisbon. Dave had only purchased ew months previously so decided to return to PC World and request an exchange. However, on entering the Leeds branch of PC World and explaining that he had been carrying his 17-inch Apple MacBook Pro in the bag, Dave was bemused to hear the store?s response. ?I was told, in no uncertain terms, that the bag that I had purchased was ?incompatible with Mac laptops?.? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071108/3713cfd7/attachment.html From lisa at anotherdimension.co.uk Thu Nov 15 12:36:09 2007 From: lisa at anotherdimension.co.uk (Lisa Pollard) Date: Thu, 15 Nov 2007 12:36:09 +0000 Subject: [4DLUG] Currency Formatting Message-ID: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> Hi guys, I'm sorry if this is really basic - I thought it should be easier than it is, but maybe I've missed something. I have a client with numerous international offices all around the world. They have a 4D database which I am upgrading. The database was originally written in-house and they have had multiple development streams for each international company. Now, as the work-flow is more or less the same in each company and there were very little differences between international versions (except some were still stuck in 6.5 while others were in 2003), we agreed that we would have a single development stream for the worldwide company. All seems well. Now however we have a problem with Currency formats. There is a currency format in the database properties (as you would expect) but what I don't want to do is to have to update that format personally and re-compile for each country. I want each country to be able to define their own formats - they have a preferences table where other preferences like this are set so it seems to make sense. Surely there must be an easier way than procedurally setting each method, form variable and field where the format is used to use the preferences field? I thought localization in 4D was meant to be easy and I'm sure I'm missing something here. I've looked through the 4d,com Knowledge base and tech notes and they all say to change the filter manually and recompile. I can find nothing on the Nug or 4D Today. Any ideas anyone? cheers Lisa -- Lisa Pollard Software Developer Please note our new contact details: Another Dimension Ltd Needham Hall Barns Needham Street Gazeley, Newmarket Suffolk. CB8 8RR lisa at anotherdimension.co.uk Tel: +44 1638 554652 URL: http://www.anotherdimension.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071115/560e3a75/attachment.html From john.convey at sci-do.co.uk Thu Nov 15 16:03:59 2007 From: john.convey at sci-do.co.uk (john convey) Date: Thu, 15 Nov 2007 16:03:59 +0000 Subject: [4DLUG] Currency Formatting In-Reply-To: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> References: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> Message-ID: <3BAB99B8-D516-453A-8ADC-05367BFCC256@sci-do.co.uk> Hi Lisa, Firstly, this forum is for both 'really basic' and much more complex issues. I'm becoming more and more of the view, that a combined language and database with the scope that 4d supplies, that 'expertise' can be as a result of having worked in one area - eg Web services on windows and also that many highly technically proficient users may have not looked at a certain area on a certain platform with a certain version. So a developer with many years experience may have a 'basic' question not just newbees To cut a long story short please place any 4d issues here -someone may know something that can help or point in the right direction. > I thought localization was meant to be easy maybe someone can address this I don't know of a way to procedurally change the Currency display formats - perhaps someone else can chip in -is'aint it driven by the OS ? Also is it really necessary to use the built in display formats? on our system we do have a way to display booking prices in a number of different currencies but simply use the ###,###.## and write USD or GBP after the amount on the output. I can image if you are printing accounts or invoices though this would not look as good as the symbol in front 1000.000.00 GBP or 10.00 GBP ?1000.000.00 or ?10.00 1000.000.00 USD or 10.00 USD $1000.000.00 or $10.00 John John Convey On 15 Nov 2007, at 12:36, Lisa Pollard wrote: > Hi guys, > > I'm sorry if this is really basic - I thought it should be easier > than it is, but maybe I've missed something. > > I have a client with numerous international offices all around the > world. They have a 4D database which I am upgrading. The database > was originally written in-house and they have had multiple > development streams for each international company. Now, as the > work-flow is more or less the same in each company and there were > very little differences between international versions (except some > were still stuck in 6.5 while others were in 2003), we agreed that > we would have a single development stream for the worldwide > company. All seems well. > > Now however we have a problem with Currency formats. There is a > currency format in the database properties (as you would expect) > but what I don't want to do is to have to update that format > personally and re-compile for each country. I want each country to > be able to define their own formats - they have a preferences table > where other preferences like this are set so it seems to make sense. > > Surely there must be an easier way than procedurally setting each > method, form variable and field where the format is used to use the > preferences field? > I thought localization in 4D was meant to be easy and I'm sure I'm > missing something here. I've looked through the 4d,com Knowledge > base and tech notes and they all say to change the filter manually > and recompile. I can find nothing on the Nug or 4D Today. > > Any ideas anyone? > > cheers > Lisa > > -- > Lisa Pollard > Software Developer > > Please note our new contact details: > > Another Dimension Ltd > Needham Hall Barns > Needham Street > Gazeley, Newmarket > Suffolk. CB8 8RR > > lisa at anotherdimension.co.uk > Tel: +44 1638 554652 > URL: http://www.anotherdimension.co.uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071115/8383ca5e/attachment.html From fox at blowfish.com Thu Nov 15 16:39:58 2007 From: fox at blowfish.com (Christophe) Date: Thu, 15 Nov 2007 08:39:58 -0800 Subject: [4DLUG] Currency Formatting In-Reply-To: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> References: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> Message-ID: <7C2595F8-49B6-4024-8F0B-9160C93E9E81@blowfish.com> Hi, Unfortunately, without structure-hacking, I don't think there is a way of setting the value of a database parameter format string from 4D code. Ick. On Nov 15, 2007, at 4:36 AM, Lisa Pollard wrote: > Hi guys, > > I'm sorry if this is really basic - I thought it should be easier > than it is, but maybe I've missed something. > > I have a client with numerous international offices all around the > world. They have a 4D database which I am upgrading. The database > was originally written in-house and they have had multiple > development streams for each international company. Now, as the > work-flow is more or less the same in each company and there were > very little differences between international versions (except some > were still stuck in 6.5 while others were in 2003), we agreed that > we would have a single development stream for the worldwide > company. All seems well. > > Now however we have a problem with Currency formats. There is a > currency format in the database properties (as you would expect) > but what I don't want to do is to have to update that format > personally and re-compile for each country. I want each country to > be able to define their own formats - they have a preferences table > where other preferences like this are set so it seems to make sense. > > Surely there must be an easier way than procedurally setting each > method, form variable and field where the format is used to use the > preferences field? > I thought localization in 4D was meant to be easy and I'm sure I'm > missing something here. I've looked through the 4d,com Knowledge > base and tech notes and they all say to change the filter manually > and recompile. I can find nothing on the Nug or 4D Today. > > Any ideas anyone? > > cheers > Lisa > > -- > Lisa Pollard > Software Developer > > Please note our new contact details: > > Another Dimension Ltd > Needham Hall Barns > Needham Street > Gazeley, Newmarket > Suffolk. CB8 8RR > > lisa at anotherdimension.co.uk > Tel: +44 1638 554652 > URL: http://www.anotherdimension.co.uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071115/f6b672b1/attachment.html From lisa at anotherdimension.co.uk Thu Nov 15 16:40:48 2007 From: lisa at anotherdimension.co.uk (Lisa Pollard) Date: Thu, 15 Nov 2007 16:40:48 +0000 Subject: [4DLUG] Currency Formatting In-Reply-To: <3BAB99B8-D516-453A-8ADC-05367BFCC256@sci-do.co.uk> References: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> <3BAB99B8-D516-453A-8ADC-05367BFCC256@sci-do.co.uk> Message-ID: <316FD96E-795E-46DC-B0CD-9373BF5600E6@anotherdimension.co.uk> Hi John, Thanks for your reply. I agree, experienced developers can have basic questions when dealing with areas they've never dealt with before. I am an example of this. On 15 Nov 2007, at 16:03, john convey wrote: > Also is it really necessary to use the built in display formats? > on our system we do have a way to display booking prices in a > number of different currencies but simply use the ###,###.## and > write USD or GBP after the amount on the output. > > I can image if you are printing accounts or invoices though this > would not look as good as the symbol in front > 1000.000.00 GBP or 10.00 GBP > ?1000.000.00 or ?10.00 > > 1000.000.00 USD or 10.00 USD > $1000.000.00 or $10.00 > My main problem is that I'm dealing with Sweden in this particular issue who use the SEK 100,00 format - with a comma (,) instead of a decimal point (.). Yes the OS can set up currency formats but I can't see that 4D is making any use of this setting. A REAL field may not be for monetary value, obviously, and there is no way to distinguish between a standard REAL field and a financial real field. Thanks for your help. Anyone else dealt with this at all? cheers Lisa -- Lisa Pollard Software Developer Please note our new contact details: Another Dimension Ltd Needham Hall Barns Needham Street Gazeley, Newmarket Suffolk. CB8 8RR lisa at anotherdimension.co.uk Tel: +44 1638 554652 URL: http://www.anotherdimension.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071115/3892df01/attachment.html From lo.farnan at btconnect.com Thu Nov 15 16:42:31 2007 From: lo.farnan at btconnect.com (Lo Farnan) Date: Thu, 15 Nov 2007 16:42:31 -0000 Subject: [4DLUG] Currency Formatting In-Reply-To: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> References: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> Message-ID: <006001c827a6$86049200$920db600$@farnan@btconnect.com> Hi Lisa No easy ones I'm afraid, but then again I'm very stupid. (You should have a look at the new EAV module!) Put the formats and filters in the preferences and load at start-up. Have a nice naming convention that pre-fixes object names with a common prefix that defines groups - currency fields/variables curr say. Add calls to your standard input/output form methods that use 'set format/set filter' on object names 'SET FORMAT(*;"curr@";loaded format) Easy enough if you have a hook in all your input/output forms (which I'm sure a sensible young woman like you already has). Love an easier way. Love & Kisses Lo ******************************************* From: list-admin at 4dlug.org.uk [mailto:list-admin at 4dlug.org.uk] On Behalf Of Lisa Pollard Sent: 15 November 2007 12:36 To: London User Group Subject: [4DLUG] Currency Formatting Hi guys, I'm sorry if this is really basic - I thought it should be easier than it is, but maybe I've missed something. I have a client with numerous international offices all around the world. They have a 4D database which I am upgrading. The database was originally written in-house and they have had multiple development streams for each international company. Now, as the work-flow is more or less the same in each company and there were very little differences between international versions (except some were still stuck in 6.5 while others were in 2003), we agreed that we would have a single development stream for the worldwide company. All seems well. Now however we have a problem with Currency formats. There is a currency format in the database properties (as you would expect) but what I don't want to do is to have to update that format personally and re-compile for each country. I want each country to be able to define their own formats - they have a preferences table where other preferences like this are set so it seems to make sense. Surely there must be an easier way than procedurally setting each method, form variable and field where the format is used to use the preferences field? I thought localization in 4D was meant to be easy and I'm sure I'm missing something here. I've looked through the 4d,com Knowledge base and tech notes and they all say to change the filter manually and recompile. I can find nothing on the Nug or 4D Today. Any ideas anyone? cheers Lisa -- Lisa Pollard Software Developer Please note our new contact details: Another Dimension Ltd Needham Hall Barns Needham Street Gazeley, Newmarket Suffolk. CB8 8RR lisa at anotherdimension.co.uk Tel: +44 1638 554652 URL: http://www.anotherdimension.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071115/9777ecfb/attachment.html From lisa at anotherdimension.co.uk Fri Nov 16 08:48:33 2007 From: lisa at anotherdimension.co.uk (Lisa Pollard) Date: Fri, 16 Nov 2007 08:48:33 +0000 Subject: [4DLUG] Currency Formatting In-Reply-To: <006001c827a6$86049200$920db600$@farnan@btconnect.com> References: <8AE1464C-6D3F-4810-9286-241041CA0DFF@anotherdimension.co.uk> <006001c827a6$86049200$920db600$@farnan@btconnect.com> Message-ID: Hi Lo, Thanks for your reply. Yes, if I was starting from scratch - or even if it was a system I had built - this would be the way to go. Unfortunately it is an inherited system and I can find no other way than going through the 150 odd forms, form methods and methods which Insider has told me uses the original formats. Yes I can use generic calling methods once I'm there. I was hoping there was going to be a system wide/resource way of doing this. Hey ho, and off we go... cheers Lisa On 15 Nov 2007, at 16:42, Lo Farnan wrote: > Hi Lisa > > > > No easy ones I?m afraid, but then again I?m very stupid. > > (You should have a look at the new EAV module!) > > > > Put the formats and filters in the preferences and load at start-up. > > Have a nice naming convention that pre-fixes object names with a > common prefix that defines groups ? currency fields/variables curr > say. > > Add calls to your standard input/output form methods that use ?set > format/set filter? on object names ?SET FORMAT(*;?curr@?;loaded > format) > > Easy enough if you have a hook in all your input/output forms > (which I?m sure a sensible young woman like you already has). > > > > Love an easier way. > > > > > > Love & Kisses > > Lo > > > > > > > ******************************************* > > From: list-admin at 4dlug.org.uk [mailto:list-admin at 4dlug.org.uk] On > Behalf Of Lisa Pollard > Sent: 15 November 2007 12:36 > To: London User Group > Subject: [4DLUG] Currency Formatting > > > > Hi guys, > > > > I'm sorry if this is really basic - I thought it should be easier > than it is, but maybe I've missed something. > > > > I have a client with numerous international offices all around the > world. They have a 4D database which I am upgrading. The database > was originally written in-house and they have had multiple > development streams for each international company. Now, as the > work-flow is more or less the same in each company and there were > very little differences between international versions (except some > were still stuck in 6.5 while others were in 2003), we agreed that > we would have a single development stream for the worldwide > company. All seems well. > > > > Now however we have a problem with Currency formats. There is a > currency format in the database properties (as you would expect) > but what I don't want to do is to have to update that format > personally and re-compile for each country. I want each country to > be able to define their own formats - they have a preferences table > where other preferences like this are set so it seems to make sense. > > > > Surely there must be an easier way than procedurally setting each > method, form variable and field where the format is used to use the > preferences field? > > I thought localization in 4D was meant to be easy and I'm sure I'm > missing something here. I've looked through the 4d,com Knowledge > base and tech notes and they all say to change the filter manually > and recompile. I can find nothing on the Nug or 4D Today. > > > > Any ideas anyone? > > > > cheers > > Lisa > > > > -- > > Lisa Pollard > > Software Developer > > > > Please note our new contact details: > > > > Another Dimension Ltd > > Needham Hall Barns > > Needham Street > > Gazeley, Newmarket > > Suffolk. CB8 8RR > > > > lisa at anotherdimension.co.uk > > Tel: +44 1638 554652 > > URL: http://www.anotherdimension.co.uk > > > > > > > cheers Lisa -- Lisa Pollard Software Developer Please note our new contact details: Another Dimension Ltd Needham Hall Barns Needham Street Gazeley, Newmarket Suffolk. CB8 8RR lisa at anotherdimension.co.uk Tel: +44 1638 554652 URL: http://www.anotherdimension.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.4dlug.org.uk/pipermail/list/attachments/20071116/afa17477/attachment.html From matthew at 4dlug.org.uk Thu Nov 29 12:49:07 2007 From: matthew at 4dlug.org.uk (Matthew at 4D LUG) Date: Thu, 29 Nov 2007 12:49:07 +0000 Subject: [4DLUG] 4D LUG Meeting Monday Dec 3rd Message-ID: Folks Oops, next 4D LUG meeting is on Monday, Dec 3rd! Details as usual: * All are welcome * Meet at 7pm, Pizza Express Victoria St, opposite Victoria District/ Central tube exit * Afterwards (Maybe from 9pm) at Victoria pub, Lower Belgrave st That's it! Pls RSVP to John, john.convey at sci-do.co.uk - he'll need to know numbers to book it. Not sure if I'll be there, if not merry xmas etc :) M From john.convey at sci-do.co.uk Fri Nov 30 11:10:56 2007 From: john.convey at sci-do.co.uk (john convey) Date: Fri, 30 Nov 2007 11:10:56 +0000 Subject: [4DLUG] Reminder- Don't miss out on the 4d London user group Christmas bash / pizza night next Monday 3rd December Message-ID: <5AA4E723-2D3B-49EA-B345-A80C64EF6BC2@sci-do.co.uk> Seasons greeting, The 4d London users group Christmas bash is on Monday night. Dec 3rd Please bring along Holly, mistletoe (no tongues!) , good cheer etc What's happening ? * Opportunity to be chat, socialise and be Merry.. * A chance to catch up with what's new from the Memphis summit SQL, Ajax , 4D2iPhone etc etc * discussion: how to market your 4d product - facebook? niche social networks ? * Laptop demos in the pub after * All are welcome from uk or visiting 4ders, just interested ?, beginners or very experienced * Meet at 7pm, Pizza Express Victoria St, opposite Victoria District/ Central tube exit * Afterwards (approx from 9pm) at Victoria pub, Lower Belgrave st Please email if you are coming along for table booking numbers , john.convey at sci-do.co.uk - thanks John John convey _______________________________________________ Next 4D London User Group Meetings: NB SQL Training Course in London 11th and 12th December 4D UK and Luc-Michel Six the author of 4D v11 SQL: The Missing Manual You can find out more at http://www.4duk.com/events/lmsoverview.html or book online at https://www.4duk.com/store/training07.html. You can make a credit card telephone booking on 01625 536178. discount (if booked before 5 pm tonight i understand) 4d LUG dates--------------- Monday December 3rd 2007 Christmas Party Monday March 3rd 2008 Monday June 2nd 2008 Monday September 1st 2008 ---------------------------------------- http://www.lmug.org.uk/ list mailing list list at 4dlug.org.uk http://lists.4dlug.org.uk/mailman/listinfo/list