Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Visual Promatrix with the existing application
Message
 
 
To
09/07/2009 23:16:43
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01408759
Message ID:
01411335
Views:
52
>I guess we added that property and set it when it needed to be. Oh well, you can always eval(<textbox>.cSaveControlSource).
>
>>>In VPME9.0, and probably 9.1, the lookup textbox and combobox stores the real controlsource in cSaveControlSource, or some such. When the value is changed, the framework populates the value back to whatever the cSaveControlSource happens to be. There are also one or more u*val properties on the controls; e.g., uLastVal. At any given point you can find the PK value of the textbox in that variable. The names might have changed for 9.1, but something like that will be there.
>>>
>>>Hank
>>
>>In design-time I don't see any properties of the textbox that start with u.

Hi Hank,

I used reftable.MyIDField instead suggested by Richard S - worked great.

Basically, the form is working, the only minor detail is that when I change values in a grid and move to another record, the question "Do you want to save?" is asked. I don't want this question. Do you know how to disable it for grid's movements?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform