Try this: cCaption = "Details"+(srit_db.crank)+")"
thisform.pageframe1.page1.caption=cCaption Dave -----Original Message----- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Geoff Flight Sent: 28 May 2014 07:10 To: 'ProFox Email List' Subject: Frustrating page tab captions Hello all, I still read this list but I have moved onto managing a training company now but have a VFP contacts/mailing database we use. It all works well but I just tried to get the caption for page1 to read "Details (X)" with X replaced by a ranking field. brain-dead easy right? My code for this is... thisform.pageframe1.page1.caption='Details ('+srit_db.crank+')' The result is as follows... "(Details (X" not only is the last parenthesis coming up first instead of last it has swapped it around. I remember in my former career having problems with it and if I recall right, gave up on it. Does anyone have a reason for this behaviour and better still... a work-around? Cheers Geoff Flight SRIT [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/18725b8cd2d5d247873a2baf401d4ab22a511...@ex2010-a-fpl.fpl.LOCAL ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.