Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another VFP DLL Question
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00538616
Message ID:
00539690
Views:
19
Taking this a bit further, I went into the SaveChanges and did:

PROCEDURE SaveChanges
LPARAMETERS oRecord

cRecordId = oRecord.RecordId
cFullName = oRecord.FullName

SELECT Users
APPEND BLANK
GATHER NAME oRecord MEMO


Adding the 2 lines at the top seems to have refreshed it
somehow.

Doing it this was works, and I'n not opposed to to using it,
but the problem now is this:

I have other methods that use the SCATTER to return an object.
Sometimes I use a SQL to pull only the fields I want to expose
to the user.

If I intend to 'refresh' each property as I did above, how do I
then know how many properties are on a given record object.

There is no Count property, and what I'd like to do is:

for i = 1 to oRecord.Count
  vValue = oRecord.Object[I]
endfor


See what I mean?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform