Probably should be SFRecord. The newObjects libraries seem to use a "c" prefix on constants and enums, but not on classes.
--- In [email protected], "George Walters" <gwalt...@...> wrote: > > Good question! Guess I need new glasses. Have an appointment next week. > Thought I clipped this from the other program. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of George Henne > Sent: Wednesday, March 03, 2010 2:49 PM > To: [email protected] > Subject: Re: [nsbasic-ce] Unable ti resolve ClassID > > What is cSFRecord? > > > >I'm getting an "Unable to resolve Class Id for > >'newobjects.utilctls.csfrecord' when instantiating > >'newobjects.utictls.csfrecord' object. I have no idea how to fix this. > >Here's the code and hopefully someone can tell me how to fix. > > > > AddObject "newObjects.utilctls.SFMain", "fs" > > AddObject "newObjects.utilctls.cSFRecord", "orderRec" > > filename = "\Documents and Settings\AcuTrack\pdaPickList.txt" > > Set file = fs.OpenFile(filename) > > > > orderRec.AddField "ItemNbr", vbSTRING, 12 > > orderRec.AddField "Desc1", vbSTRING, 30 > > orderRec.AddField "Desc2", vbSTRING, 30 > > orderRec.AddField "SerNbr", vbSTRING, 12 > > orderRec.AddField "ItemType", vbSTRING, 2 > > orderRec.AddField "QtyDue", vbSTRING, 9 > > orderRec.AddField "QtyPicked", vbSTRING, 9 > > orderRec.AddField "BinNbr", vbSTRING, 4 > > orderRec.AddField "ItemUPC", vbSTRING, 12 > > orderRec.AddField "crlf", vbSTRING, 2 > > orderRec.BindTo file > > orderRec.Filter.unicodeText = False > > orderRec.ReBind > > > > > > > > > >------------------------------------ > > > >Yahoo! Groups Links > > > > > > > > > > ------------------------------------ > > Yahoo! Groups Links > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
