Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STR() basic question
Message
From
01/08/2005 22:30:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01037696
Message ID:
01037700
Views:
27
Thank you Sergey.

Basically, I want to store pills.ID field in a variable (lcPillName).
What's wrong in this code?

Why AddObject(lcPillName...) returns a syntax error? I want to add a 'pill' object named, let's say '1' or '2'...
lcPillName=''

SCAN

  lcPillName = str(pills.id)
  Thisform.AddObject(lcPillName,'pill')
Thank you!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform