Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Suggestion on Allow user to Duplicate.. No Kid!
Message
From
24/03/1998 21:07:14
 
 
To
24/03/1998 13:51:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00086610
Message ID:
00086878
Views:
32
>This may be too simplistic, but wouldn't SET CARRY automatically give you a way to do this?
>
>>My boss ask me to make a method allow the user to copy the previous
>>orderline information to new order!
>...snip

but currently the orderline is showing the NewOrder wow....
In browse window, if env. setting CARRY = ON.
copy and replace the orderline.Order_no, that finish!

Okey, let me try to match both replies....
kick out lSelected fields.
* at txtORder_no.dblclick
If messagebox("Are you sure to copy this record to new order?",4+32,;
   "Copy from Existing Order!") = 6
   set carry on
   append blank in Orderline
   replace order_no with alltrim(thisform.txtOrder_no.value)
   tableupdate(Orderline)
   set carry off
endif
Then, ask user to change in the original grid and use confirm update!
Because if too much alternative method to replace value, the user will
confuse. For any changing on Orderline, back to the base grid to do!

Is it OKey?!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform