RE: VFP9: Form Data Environment

2015-05-15 Thread Darren
lieve. -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Friday, 15 May 2015 11:11 PM To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment This is also something I have done - simply drop tables in the DE - then drag and drop

RE: VFP9: Form Data Environment

2015-05-15 Thread Kurt Wendt
then remove the Tables from the DE after initially putting fields & Grids on the Form. -K- -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean MAURICE Sent: Friday, May 15, 2015 1:10 AM To: profoxt...@leafe.com Subject: Re: VFP9: Form Data Enviro

Re: VFP9: Form Data Environment

2015-05-15 Thread Laurie Alvey
hu, May 14, 2015 at 9:30 PM, Desmond Lloyd > wrote: > > Odd question. For years I've always opened my desired forms by including > > the statement use somewhere in the code... Is there a benefit to using > the > > data environment. Being rather set in my ways

Re: VFP9: Form Data Environment

2015-05-15 Thread Man-wai Chang
The small software companies I worked for in Hong Kong doesn't use DE at all. :) On Thu, May 14, 2015 at 9:30 PM, Desmond Lloyd wrote: > Odd question. For years I've always opened my desired forms by including > the statement use somewhere in the code... Is there a benefit to

Re: VFP9: Form Data Environment

2015-05-14 Thread Jean MAURICE
my two cents : at the beginning, I used the 'visual data environment' until one day a 'table object' became sized 0,0 and I was unable to reinitialize it to a normal size. So I came back to what I like a lot : code. In fact, sometimes I open the dataenvironment, put a t

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
And there is no other code after the set step on other than what should be there. Maybe I should put a watch on the alias() and see where it changes. BTW, I think this started after a service pack but I am not sure Al -Original Message- Yes, it should. It can make trying to debug code wi

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
Ok so I need to make sure my datasession on forms are set as default and not private. I will look for that. Al -Original Message- To be somewhat pedantic about it, Al, forms always use a datasession. :-) The only question becomes is the form using a private datasession or the default data

Re: VFP9: Form Data Environment

2015-05-14 Thread Fred Taylor
Yes, it should. It can make trying to debug code with the debugger difficult when those events fire. Fred On Thu, May 14, 2015 at 11:32 AM, Allen wrote: > Good point. But should this code not appear in the debug trace? > Al > > -Original Message- > > You may also have code in a LostFoc

RE: VFP9: Form Data Environment

2015-05-14 Thread Richard Kaye
e.com] On Behalf Of Allen Sent: Thursday, May 14, 2015 2:33 PM To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment Yes good point, I really meant I do not use the datasession as such. Certainly not in forms. Al -Original Message- From: ProfoxTech [mailto:profoxtech

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
Yes good point, I really meant I do not use the datasession as such. Certainly not in forms. Al -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Richard Kaye Sent: 14 May 2015 20:03 To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
Good point. But should this code not appear in the debug trace? Al -Original Message- You may also have code in a LostFocus or a Deactivate that occurs when you switch to the debugger that could change things. --- This email is free from viruses and malware because avast! Antivirus prot

RE: VFP9: Form Data Environment

2015-05-14 Thread Richard Kaye
fe.com] On Behalf Of Allen Sent: Thursday, May 14, 2015 11:24 AM To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment I am not using datasession, I open as I want. Also I set resource off. But it rarely is on the correct, as in the last select, table. I am not sure why but it's

Re: VFP9: Form Data Environment

2015-05-14 Thread Thierry Nivelet
"stacking forms". Odd question. For years I've always opened my desired forms by including the statement use somewhere in the code... Is there a benefit to using the data environment. Being rather set in my ways have always been a little leery of it. Thoughts? Regards and TIA, Desmond

Re: VFP9: Form Data Environment

2015-05-14 Thread Fred Taylor
; -Original Message- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Fred > Taylor > Sent: 14 May 2015 17:51 > To: profoxt...@leafe.com > Subject: Re: VFP9: Form Data Environment > > Do you have any timers running that change the work area? I've

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
I do but they put the work area back after. Well I thought they did. Something to check Al -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Fred Taylor Sent: 14 May 2015 17:51 To: profoxt...@leafe.com Subject: Re: VFP9: Form Data Environment Do you

Re: VFP9: Form Data Environment

2015-05-14 Thread Fred Taylor
ginal Message- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Allen > Sent: Thursday, May 14, 2015 11:08 AM > To: profoxt...@leafe.com > Subject: RE: VFP9: Form Data Environment > > I agree with that > > On that subject, is it possible to sto

Re: VFP9: Form Data Environment

2015-05-14 Thread Fernando D. Bozzo
profoxt...@leafe.com > Subject: VFP9: Form Data Environment > > Good Morning, > > Thank you Fernando for your response regarding "stacking forms". > > Odd question. For years I've always opened my desired forms by including > the statement use somewhere in the co

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
Yes set step either in code or I have an on key Al -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Desmond Lloyd Sent: 14 May 2015 17:17 To: profoxt...@leafe.com Subject: Re: VFP9: Form Data Environment Are you referring to when you set step on

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
ehalf Of Richard Kaye Sent: 14 May 2015 17:11 To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment I'm not sure it changes the current workarea all on its own but I have found that it doesn't necessarily connect to the datasession of the form you may be debugging. -- r

Re: VFP9: Form Data Environment

2015-05-14 Thread Desmond Lloyd
Are you referring to when you set step on? How do you mean "moving the alias", selecting another? Regards Desmond On 14 May 2015 at 10:07, Allen wrote: > I agree with that > > On that subject, is it possible to stop debug from moving the alias? When > I set debug on its always at a table no

RE: VFP9: Form Data Environment

2015-05-14 Thread Richard Kaye
rsday, May 14, 2015 11:08 AM To: profoxt...@leafe.com Subject: RE: VFP9: Form Data Environment I agree with that On that subject, is it possible to stop debug from moving the alias? When I set debug on its always at a table nothing to do with where it should be. Al -Original Message- F

RE: VFP9: Form Data Environment

2015-05-14 Thread Allen
I agree with that On that subject, is it possible to stop debug from moving the alias? When I set debug on its always at a table nothing to do with where it should be. Al -Original Message- Fascinating I hate giving up control of anything a preference! --- This email is fr

Re: VFP9: Form Data Environment

2015-05-14 Thread Desmond Lloyd
las 10:38, Kurt Wendt escribió: > >> Desmond, >> >> A number of years ago - I discovered the use of the Data Environment on >> Forms. Why did I find it so Exciting? I'm glad you asked! Because - once >> you put one or more Tables in the Data Environment - you can simply

Re: VFP9: Form Data Environment

2015-05-14 Thread Rafael Copquin
rence Rafael Copquin El 14/05/2015 a las 10:38, Kurt Wendt escribió: Desmond, A number of years ago - I discovered the use of the Data Environment on Forms. Why did I find it so Exciting? I'm glad you asked! Because - once you put one or more Tables in the Data Environment - you can sim

Re: VFP9: Form Data Environment

2015-05-14 Thread Desmond Lloyd
the Data Environment on > Forms. Why did I find it so Exciting? I'm glad you asked! Because - once > you put one or more Tables in the Data Environment - you can simply > Drag-n-Drop the fields from the Table right onto your Form - allowing you > to do true "visual design". I

RE: VFP9: Form Data Environment

2015-05-14 Thread Kurt Wendt
Desmond, A number of years ago - I discovered the use of the Data Environment on Forms. Why did I find it so Exciting? I'm glad you asked! Because - once you put one or more Tables in the Data Environment - you can simply Drag-n-Drop the fields from the Table right onto your Form - all

VFP9: Form Data Environment

2015-05-14 Thread Desmond Lloyd
Good Morning, Thank you Fernando for your response regarding "stacking forms". Odd question. For years I've always opened my desired forms by including the statement use somewhere in the code... Is there a benefit to using the data environment. Being rather set in my ways hav

RE: Counting Tables in Data Environment

2012-12-27 Thread Coppens, Georges, FC (Provincialaat)
in Data Environment On Mon, Dec 24, 2012 at 4:32 PM, Michael Savage mailto:msav...@golden.net> > wrote: > I would like to get a count of how many tables/views the form loads > when auto open tables=.t. > This would help me with some automation I'm think

Re: Counting Tables in Data Environment

2012-12-27 Thread Tracy Pearson
Michael Savage wrote: >I would like to get a count of how many tables/views the form loads >when >auto open tables=.t. >This would help me with some automation I'm thinking of. I know about >Thisform.DataEnvironment.cursor?.controlsource. Thus by filling in the >number, you get the table from c

Counting Tables in Data Environment

2012-12-27 Thread Michael Savage
I would like to get a count of how many tables/views the form loads when auto open tables=.t. This would help me with some automation I'm thinking of. I know about Thisform.DataEnvironment.cursor?.controlsource. Thus by filling in the number, you get the table from controlsource. I looking for

RE: Data Environment

2012-04-12 Thread Dave Crozier
Christof, Just got into work and saw your post and that is exactly what I did last night. That, along with the save as class ... option when saving the form and selecting Data Environment only, partially sorts out my problem and has lead to a few more thoughts ... I'll keep the group p

Re: Data Environment

2012-04-11 Thread AndyD
Interesting question - does the DE actually exist in [source] code? I suppose it may do. I always thought the DE was a very unappreciated resource - not strictly OOP enough perhaps? AndyD 8-)₹ On 10/04/2012 15:38, Dave Crozier wrote: > Does anyone know of an easy way to extract the d

RE: Data Environment

2012-04-11 Thread Dave Crozier
Thanks Rick, I'll take a look Dave -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Rick Schummer Sent: 10 April 2012 20:43 To: profox@leafe.com Subject: RE: Data Environment Hi Dave, >> Does anyone know of an easy way to

RE: Data Environment

2012-04-10 Thread Rick Schummer
Hi Dave, >> Does anyone know of an easy way to extract the data environment of a form >> into in-line code in the same way as when you convert a form into code from the object browser?<< Not sure if this is exactly what you are looking for, and it might not be perfect, but th

RE: Data Environment

2012-04-10 Thread Dave Crozier
I meant class browser, not Object browser there of course... it's been a long day. Dave -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Dave Crozier Sent: 10 April 2012 15:38 To: ProFox Email List Subject: Data Environment Does a