Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New SQL Server Records NOT FOUND!
Message
From
16/05/2018 19:12:45
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01660006
Message ID:
01660024
Views:
82
>>Any Ideas? I see an Identity column in the conversion but not sure what it is and if I need it. Did not add it during conversion. Could that be an issue? Not that experienced in SQL Server.

The identity field is an autoincrementing field that can be used for your Primary Key.

Just be aware that when you save the new row, the identify field is NOT updated in a RV and you won't know what was assigned unless you can requery on some other field/s, or without using something like @@identity.

So if the identity field is in your WHERE clause and you haven't come up with a way to get the new row's identity, then that's a possible explanation why the query isn't finding a new row.

sorry this is all a bit general but without seeing the WHERE it's not easy to be more specific.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform