General information
Title:
Properties in .vcx files
Hello,
Have a process that creates dbfs and then renames to class library files.
This is due to the fact that client tables are frequently needing fields
added to their tables which in turn requires corresponding text box controls
on the pageframes in the form. Currently the controlsources for all of the text
boxes are being inserted into the memo field of the vcx as a variable reference
Example from memo field in vcx:
controlsource = view.field
For the majority of the users it works fine but in some cases it is stripping
off the first letter of the alias (sql view) and treating it as:
'iew.field' and saying the alias is not found.
The interesting thing is if I open the class that is programatically created
and just re-compile it it saves all controlsource variables as:
controlsource="view.field"
Once it has been recompiled it fixes the problem. So, I know that when inserting
controlsource info from properties window you just put a variable reference
but it saves it in the memo file as "table.field" not table.field (without quotes).
Does anyone know how foxpro acutually handles the info in the memo field?
Is it some sort of macros that runs?, i.e.
controlsource = "table.field"
&controlsource
Just wanting to determine if it is necessary to modify the code that
inserts controlsource variable into memo field since we dont actually
create classes through normal means.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only