Re: [ADMIN] Testing

2012-08-22 Thread Man-wai Chang
Cough... Cough Cough :) On Tue, Aug 21, 2012 at 7:18 AM, Ed Leafe e...@leafe.com wrote: Just verifying some db changes... -- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /( _ )\ http://sites.google.com/site/changmw ^ ^ May the Force

Re: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Michael Savage
That is exactly what is happening.. If the before value... issue you mention. Where should I put my validation code, so that when I click on the check box column, it goes to the right row. TIA, Mike On 22/08/2012 12:21 AM, Fred Taylor wrote: Its really got to be some other code somewhere. I

Re: How do I maximize?

2012-08-22 Thread Coery Kerness
Perfect - thanks Coery Kerness ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive:

Re: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Stephen Russell
On Wed, Aug 22, 2012 at 7:03 AM, Michael Savage msav...@golden.net wrote: That is exactly what is happening.. If the before value... issue you mention. Where should I put my validation code, so that when I click on the check box column, it goes to the right row. -- The event

RE: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Richard Kaye
Containership rules... Create a method in either the grid itself or its parent (form? Class?) to handle grid clicks and use BINDEVENTS as needed. -- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Stephen Russell Sent:

Re: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Fred Taylor
If you need to do things based on the value after you've moved the row and changed with the click, then the place would be in the Valid of the checkbox. All references would be to the table values there, which would be on the correct row. Fred On Wed, Aug 22, 2012 at 5:03 AM, Michael Savage

Re: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Rafael Copquin
Maybe what I am about to say is not related properly to your problem, but did you check what happens if you put code in the WHEN event of the textboxes? The when event catches the value of the field in the underlying cursor as it is BEFORE focus goes into the textbox. The grid also has a when

RE: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Richard Kaye
ASSERTS are a better way to invoke the debugger than SET STEP ON as they will not cause errors in a runtime environment. -- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Rafael Copquin Sent: Wednesday, August 22, 2012 2:01

RE: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Allen
Set step does not error, at least in VFP9 Al -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Richard Kaye Sent: 22 August 2012 20:27 To: profoxt...@leafe.com Subject: RE: Help!! With grid event .AfterRowColChange ASSERTS are a

auto increment

2012-08-22 Thread Gary Jeurink
Now that I've upped from fp-6 to fp-9, I want to change a few tables that use an integer idno as a primary key to an auto increment type. The only reason these tables need a primary key is so I can update their values through a view. I learned that the hard way in a football data base when I would

RE: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Richard Kaye
Ah! Forgot that they finally changed that in 9. I still think ASSERTS have their advantages over SET STEP ON as you can control debugging state by any logical condition. -- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of

I think that may be the way out, however... Was: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Michael Savage
I know how to add a checkbox to a column in a grid in code. However I do not know if I can write code to the valid event to put my validation code in it. I thought there was a way to drag and drop a checkbox in a column in the development envirnment. Is this correct? If so how to do it? Mike

RE: I think that may be the way out, however... Was: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Tracy Pearson
Michael Savage wrote on 2012-08-22: I know how to add a checkbox to a column in a grid in code. However I do not know if I can write code to the valid event to put my validation code in it. I thought there was a way to drag and drop a checkbox in a column in the development envirnment.

Re: I think that may be the way out, however... Was: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Michael Savage
Tracy, the checkbox is to be added to the first column... I open the form. I navigate to the grid. I edit the grid and move to column1. In the properties window the property highlighted is: thisform.mygrid.column1 I have subclassed all of the base classes, however the chk box does not have any

Re: I think that may be the way out, however... Was: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Fred Taylor
You can either use BINDEVENT() to add code to your form and dynamically bind it to your checkbox, or you define all your columns in your form's grid. To put a Checkbox in the grid: 1) select the colulmn in the form designer right click./edit in the grid and make sure the property sheet is

RE: auto increment

2012-08-22 Thread Tracy Pearson
Gary Jeurink wrote on 2012-08-22: Now that I've upped from fp-6 to fp-9, I want to change a few tables that use an integer idno as a primary key to an auto increment type. The only reason these tables need a primary key is so I can update their values through a view. I learned that the

RE: I think that may be the way out, however... Was: Help!! With grid event .AfterRowColChange

2012-08-22 Thread Tracy Pearson
Michael Savage wrote on 2012-08-22: I know how to add a checkbox to a column in a grid in code. However I do not know if I can write code to the valid event to put my validation code in it. I thought there was a way to drag and drop a checkbox in a column in the development envirnment.