Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving a value to multiple tables
Message
From
24/02/2010 11:48:52
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01450770
Message ID:
01450784
Views:
42
>>Hello!
>>im wondering about somethin. I have a clientID and it has a control source in a text box so when i save the client id gets saved in clients.clientid. im wondering is there a way i can send that to example books.clientid as well?like...give one text box 2 control sources?
>
>No, but you can do replace command in the textbox.InteractiveChange event (or in Valid event - may be better)
>
>replace ClientID with this.value in Books

ah lemme try the top of my head again on this 1
SELECT books
SET order TO clientid
SEEK globalclientid
IF FOUND()
replace books.clientID WITH clients.clientID
ELSE
ENDIF 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform