Foxpro class libarary help -
04-19-2004
, 10:44 AM
Hi
I have installed VFP 6.0 and new to OOPs concept
I have created Form using form designer wizard, Selected the all the
fields from the dbf. Here, by default it adds the buttons(controls) add,
next, top,prev, print,find add,edit etc..
I have fields like customer name, index number, date, place etc... After
runing the form, when I click "Add" button, I can enter the data
manually and save the data by clicking the "Save" button.
Now I want modify this to : When I click "Add" button for first time for
first record, the Index number field should automatically increament to
"001", instead user entering manually on this field. Pls let me the code
and which part of event to add this code.
I'm able to see and understand some extend of the code for this from
through class library but I'm not able to modify as per my requirement.
Thanks in Advance.
-Ashok |