Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace a Forms Array with a Table ??
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replace a Forms Array with a Table ??
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01635886
Message ID:
01635886
Views:
68
Some FUN Stuff today !!!

This was thrown out for analysis and I don't see an easy way to implement this......

We use an ARRAY called gaSession ( up to 20 elements max ) to create and hold the forms created on the screen in our application.

So, to use one of the forms we call gaSession( lnCnt ) to access it, given then lnCnt is from 1 to 20.

To access a property, we call gaSession.(lnCnt).p_thisproperty to access it.

Cool stuff, but it gets slow when we open up a BUNCH of forms that are in the array.

We want to know if we can replace the array with a table. I started out by created a table gtSession with 20 rows and 15 fields to hold the values passed to the session manager to send over to the Array gaSession, but which now would be stored in gtSession.

It dawned on me.... what am I doing? The row IS NOT an object, so .................... any different ideas or something that I am overlooking?

Thanks for any input !
Tommy
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform