Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003677
Message ID:
01003762
Views:
13
Neil,

You should continue discussions in the other thread you started rather than starting a whole new thread on the same subject.

Why are you wanting to use memvars for your controls instead of using the table columns?

>I have a little problem understanding procedures and functions. I have a procedure called basedarti stored in a Program named findart. In my procedure I have 5 memory variables where I store information into them. Here is my code:
>
>
>PROCEDURE basearti()
>	STORE "F*0001" TO cArtikey
>	STORE "ZOOM" TO cSupplier
>        STORE "YES" TO cNewsupplier
>ENDPROC
>
>
>What I would like to do is when my form is initialised I would like to show the value of cArtikey in text1 field.........cSupplier in text2 field etc.
>
>
>Therefore in my main.prg I do set procedure to findart. How do I call the procedure and subsequently pipe the information from the variable to the fields on my form. I need to re-use this syntax thats why I created a procedure.
>
>Do I have to Do basearti with findart etc in my text control? Im at a little bit of a loss at the moment as I am trying to learn procedures, functions etc......
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform