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
Titre:
Another VFP DLL Question
Divers
Thread ID:
00538616
Message ID:
00538616
Vues:
47
Whats wrong here?


** Create an instance of the DLL
oScProcs = CREATEOBJECT("ScProcs.Procedures")
WITH oScProcs

  ** Add a new user
  oRecord = .AddUser()

  ** Fill in the user properties
  oRecord.RecordId = "00000001"
  oRecord.FullName = "Joe Person"
  oRecord.Age = 26
  oRecord.MarritalStat = 1

  ** Save changes
  .SaveChanges(oRecord)

ENDWITH


The 4 lines with the oRecord are the problem. No matther which of the 4 lines I list first, it's the only
property that seems to exist on the oRecord object.

In the AddUser method, I have
SELECT Users
SCATTER NAME oRecord
RETURN oRecord


So who do I only see one field in the table as a property on the record???
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform