Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TAG() returns value but will not insert into table
Message
 
 
To
14/02/2006 16:01:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096302
Message ID:
01096406
Views:
13
You're welcome.

>Cool. Thanks for the usual quick reply & good point on the 10 character max tag name length.
>
>I'm just still trying to formulate in my head how my original code could output an answer when I just used '?' to get it out to the screen, but it did NOT return any text when trying to insert it into the cursor. I did believe I originally followed correct TAG() function syntax based on this that I saw in help:
>
>
>TAG([CDXFileName,] nTagNumber [, nWorkArea | cTableAlias])
>
>
>There are a lot of optional parameters there, and I opted out of the wrong one! I just chose to specify the CDX, and leave the alias off as 'optional'. I guess if I don't specify the alias, when I try to insert it into the cursor, at the moment it tries to evaluate what alias TAG() is referring to, my 'cAliasName' cursor must no longer be selected, so no text is returned? That would at least make sense then why in your version of the TAG function call, the alias is specified to overcome this & it works!
>
>Very interesting, indeed.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform