Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Foxpro Pages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00266757
Message ID:
00267688
Vues:
28
>I've never used ASP. :)
>
>All I know about POST and GET is that's how what the user types in gets back to the server.
>
>I'm really lost with the whole process. They fill in the form, I get their answers into an object, I think, and do the search and fill a cursor with the results. But since this is stateless, how do I pass the cursor from page to page?

You have the right idea basically. First off, let me make sure I understand the whole scenario. It sounds like:
User supplies some value used to select records from a table into a cursor.
You want to display those records in a page.

Why do you need to pass a cursor from page to page? I'm probably just not understanding the whole scenario, fill me in please!

>
>Thanks,
>
>Michelle
>
>
>>Passing parameters is easy and works basically the same as it does in ASP. Depending on whether you use a POST or GET method from the parent, inside the child page (the one recieving some parameter), you can issue something like:
>>
>><%
>>lcCompany = FOX.GETFORMVAR("Company")
>>%>
>>
>>In this case, lcCompany would be a variable which now holds the value of the variable Company passed to the page via a Form POST call.
>>
>>HTH, but if you are unfamiliar with form POST and GET, let me know and I'll provide more details.
>>
>>>I wondered about building complex apps. I can easily see how it works when you do everything in one page, but what if what you're doing spans multiple pages?
>>>
>>>One thing I'm trying to figure out is how to do a search page. On one page, I can have the user fill in the form and search the table, and give them the first X matches, but how do you give them the next X matches?
>>>
>>>Thanks,
>>>
>>>Michelle
>>>
>>>
>>>
>>>>I've been staying away from this thread because I didn't want to appear as if I was hocking my service via UT, but...
>>>>
>>>>My server has been running AFP for several months now. AFP is a great product and very stable. I haven't tried WWC so I can't compare the 2 other than to say I have always heard good things about WWC. I have taken a look at the Visual Webbuilder product and it looks like a great tool to use with WWC, something that is definitely lacking in AFP.
>>>>
>>>>AFP's strengths are its power and simplicity. I was productive in less than 10 minutes of first trying it. Its drawbacks are I feel like I've stepped backwards to the 2.x days in the way you manage a project. You can use FP and Interdev, no question about it, but it is a scripting engine. But for a large scale web based project (complexity of the app not the size or amount of the data), managing could be difficult.
>>>>
>>>>Just my 2 cents.
Oct 31 = Dec 25
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform