Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Values in table overwrited
Message
From
16/10/2006 13:01:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Values in table overwrited
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01162248
Message ID:
01162248
Views:
50
I have a form in foxpro where i placed the wizbtns class and everytime the customer press the prev. or net button it goes to the method called "PADRES" that i created and that is executed from any of this buttons, this is the method "PADRES" code:
m.mival=thisform.pageframe1.page1.txtid.value
thisform.pageframe1.page1.combo1.RowSource = "SELECT cv.nombre FROM cv WHERE cv.padre = "+transform(m.mival)+" AND cv.genero = 'Caballo' into cursor padre"
thisform.pageframe1.page1.combo1.Requery 
thisform.pageframe1.page1.combo2.RowSource = "SELECT cv.nombre FROM cv WHERE cv.padre = "+transform(m.mival)+" AND cv.genero = 'Yegua' into cursor madre"
thisform.pageframe1.page1.combo1.displayvalue = ALLTRIM(padre.nombre)
thisform.pageframe1.page1.combo2.displayvalue = ALLTRIM(madre.nombre)
and it changing from the original value to 0 and i don't know why because it was working fine.

Thanks in advance for the help.
Next
Reply
Map
View

Click here to load this message in the networking platform