Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP help
Message
From
05/05/2006 18:14:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/05/2006 14:54:49
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
01119364
Message ID:
01119801
Views:
20
>>>The following code is contained in a method of a COM dll designed to service an ASP web page and fails to save the new value of RTA.approved.
>>>Uploadstatus is the name of a checkbox whose value is "True".
>>>
>>>
>>>select RTA
>>>scatter name loProject memo
>>>
>>>* . . . change some values of loProject
>>>	
>>>if alltrim(loRequest.form("uploadstatus").item()) = "True"
>>>  loProject.approved = .t.
>>>else
>>>  loProject.approved = .f.	
>>>endif	
>>>
>>>gather name loProject memo
>>>

>>>
>>>
>>>However the following seems to work OK.
>>>
>>>
>>>select RTA
>>>scatter name loProject memo
>>>
>>>* . . . change some values of loProject
>>>	
>>>if alltrim(loRequest.form("uploadstatus").item()) = "True"
>>>  replace RTA.approved with .t.
>>>else
>>>  replace RTA.approved with .f.	
>>>endif	
>>>
>>>gather name loProject memo
>>>
>>>
>>>Can someone explain why the first doesn't work?
>>
>>I think code in:
>>
>>* . . . change some values of loProject
>>
>>causes it to fail. For example is current alias RTA?
>>Cetin
>
>I found another instance where the GATHER is not working. If you look at the full code in my last post, the new value of "category" is not being saved to the table by the gather. However if I save it implicitly after the gather with:
>
>REPL category with loProject.category
>
>it works. I've about concluded that there is a bug in GATHER that is causing the problem since some of the new values are saved OK and others are not.
>Any thoughts?
>
>- Don

No. It worked for me right always.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform