Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate code for form

Status
Not open for further replies.

petes123

Technical User
Jun 8, 2001
11
US
In 2.6 you could create a screen and then genrate the code for it into an .SPR and then modify the code into a PRG. Can you generate the code from a 6.0 wizard generated form?
 
In VFP6 (or 3, or 5 for that matter). There is no SPR. The code is run direct from the SCX. You can use the object browser to dump a class to code, but I have never seen much advantage in that. If you say why you think you need the code we could probably point you in the correct direction.
 
VFP 6.0 creates a find cmd btn on the form which you can use to search any field in the table. I can set the order of the tag on the click event for that find button to one index. I can't figure out how to set the correct index depending on which field the user picks to search on. I can write code for my own search button, however that would take a lot of code for 8 of the most used fields.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top