Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another VFP DLL Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00538616
Message ID:
00539690
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform