Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE does not replace
Message
From
09/09/1996 18:24:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
REPLACE does not replace
Miscellaneous
Thread ID:
00007495
Message ID:
00007495
Views:
94
I have a add button in my form to add one record in a child table. The following code is executed after the APPEND BLANK. The first WAIT WINDOW is showing 6. The second WAIT WINODW should show 6 as well because we are replacing INOTRX with TRANSACT.INOTRX. Instead, it is showing 0. Both fields are integer. Am I missing something or what? Isn't the second WAIT WINDOW suppose to show 6?

SELECT TRANSDET
WAIT WINDOW STR(TRANSACT.INOTRX)
REPLACE INOTRX WITH TRANSACT.INOTRX
WAIT WINDOW STR(TRANSDET.INOTRX)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform