Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Field-Mappings through code or configuration
Message
 
To
28/08/1997 01:20:49
Craig Mcclelland
Computer Fiscal Services
Sydney, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00047247
Message ID:
00047438
Views:
24
>Thanks for the reply Barbara.
>Just to clarify the question a little ... we are actually trying to change the mappings/classes used for the drag-and-drop in the form designer before the form is created rather than after the event.
>Naturally we can go into the tools\options sheets and change the mappings there manually but we were hoping to automate that to make it easier to swap between projects (we are very lazy programmers).

Craig, I did understand that you wanted to change the mappings not the form items. Looks like Darrell's RegEdit method might work for that. However, I've found that either dragging the fields from the correct library listing (in the PM) or 'hacking' the VCX is pretty fast, and quite reliable. I wrote a small PRG which looks at each field in turn, and replaces the library in CLassLoc to match the current project. It can be run multiple times as I add to or edit a form.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform